-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from blizard863/dev
feat: release mini version
- Loading branch information
Showing
30 changed files
with
2,804 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: goreleaser | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
# run only against tags | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21" | ||
|
||
- name: Make All | ||
run: | | ||
./package.sh | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
version: latest | ||
args: release --clean --release-notes=./Release.md | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,39 @@ | ||
# If you prefer the allow list template instead of the deny list, see community template: | ||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore | ||
# | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
# Compiled Object files, Static and Dynamic libs (Shared Objects) | ||
*.o | ||
*.a | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
# Folders | ||
_obj | ||
_test | ||
|
||
# Architecture specific extensions/prefixes | ||
*.[568vq] | ||
[568vq].out | ||
|
||
*.cgo1.go | ||
*.cgo2.c | ||
_cgo_defun.c | ||
_cgo_gotypes.go | ||
_cgo_export.* | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
_testmain.go | ||
|
||
*.exe | ||
*.test | ||
*.prof | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
# Self | ||
bin/ | ||
packages/ | ||
release/ | ||
test/bin/ | ||
vendor/ | ||
lastversion/ | ||
dist/ | ||
.idea/ | ||
.vscode/ | ||
.autogen_ssh_key | ||
|
||
# Go workspace file | ||
go.work | ||
# Cache | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
builds: | ||
- skip: true | ||
checksum: | ||
name_template: "{{ .ProjectName }}_sha256_checksums.txt" | ||
algorithm: sha256 | ||
extra_files: | ||
- glob: ./release/packages/* | ||
release: | ||
# Same as for github | ||
# Note: it can only be one: either github, gitlab or gitea | ||
github: | ||
owner: gofrp | ||
name: tiny-frpc | ||
|
||
draft: false | ||
|
||
# You can add extra pre-existing files to the release. | ||
# The filename on the release will be the last part of the path (base). If | ||
# another file with the same name exists, the latest one found will be used. | ||
# Defaults to empty. | ||
extra_files: | ||
- glob: ./release/packages/* |
Oops, something went wrong.