Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Commit 7960b7c

Browse files
authored
Merge pull request #2 from aipeach/origin
添加二进制文件
2 parents 4b7c2c5 + 1b03def commit 7960b7c

File tree

3 files changed

+78
-1
lines changed

3 files changed

+78
-1
lines changed

.github/workflows/release.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: goreleaser
2+
3+
on:
4+
push:
5+
# run only against tags
6+
tags:
7+
- 'v*'
8+
9+
permissions:
10+
contents: write
11+
# packages: write
12+
# issues: write
13+
14+
jobs:
15+
goreleaser:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
- run: git fetch --force --tags
22+
- uses: actions/setup-go@v3
23+
with:
24+
go-version: '1.20.7'
25+
cache: true
26+
# More assembly might be required: Docker logins, GPG, etc. It all depends
27+
# on your needs.
28+
- uses: goreleaser/goreleaser-action@v4
29+
with:
30+
# either 'goreleaser' (default) or 'goreleaser-pro':
31+
distribution: goreleaser
32+
version: latest
33+
args: release --clean
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
37+
# distribution:
38+
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.goreleaser.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This is an example .goreleaser.yml file with some sensible defaults.
2+
# Make sure to check the documentation at https://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
7+
# you may remove this if you don't need go generate
8+
# - go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
targets:
13+
- darwin_amd64
14+
- darwin_arm64
15+
- linux_amd64
16+
- linux_arm64
17+
- windows_amd64
18+
- windows_arm64
19+
20+
archives:
21+
- format: tar.gz
22+
# use zip for windows archives
23+
format_overrides:
24+
- goos: windows
25+
format: zip
26+
checksum:
27+
name_template: 'checksums.txt'
28+
snapshot:
29+
name_template: "{{ incpatch .Version }}-next"
30+
changelog:
31+
sort: asc
32+
filters:
33+
exclude:
34+
- '^docs:'
35+
- '^test:'
36+
37+
release:
38+
prerelease: auto
39+
mode: keep-existing

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FullTClash的专用代理后端,基于clash内核改动。本人不会Golang
66
* 此外还有[meta分支](https://github.com/AirportR/FullTCore/tree/meta),使用Clash.Meta 代替,支持更多代理协议。
77
## 二进制文件
88

9-
请前往github action页面获取,不会进行分发。
9+
https://github.com/AirportR/FullTCore/releases
1010

1111
## 编译
1212

0 commit comments

Comments
 (0)