-
Notifications
You must be signed in to change notification settings - Fork 11
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 #26 from mudclient/feat/v0.6.1
- Loading branch information
Showing
23 changed files
with
1,288 additions
and
1,778 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
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,50 @@ | ||
# vim: set softtabstop=2 tabstop=2 shiftwidth=2: | ||
name: Release | ||
on: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
release: | ||
name: Release on GitHub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.13.6 | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set env via git describe | ||
run: echo ::set-env name=GIT_DESCRIBE::$(git describe --always --tags --dirty) | ||
|
||
- name: Validates Goreleaser config | ||
uses: goreleaser/goreleaser-action@v1 | ||
with: | ||
args: check | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install termux-create-package | ||
run: pip3 install termux-create-package | ||
|
||
- name: Install jq | ||
run: sudo apt-get install jq | ||
|
||
- name: Create release on GitHub | ||
uses: goreleaser/goreleaser-action@v1 | ||
with: | ||
args: release | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GORELEASER_GITHUB_TOKEN}} | ||
|
||
- name: Upload termux package to GitHub | ||
run: bash build/termux-build.sh | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_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 +1,12 @@ | ||
go-mud* | ||
dist/ | ||
config.yaml | ||
config.json | ||
log/* | ||
out* | ||
*.log | ||
tmp/* | ||
|
||
app/version.go | ||
|
||
.DS_Store |
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,83 @@ | ||
# vim: set softtabstop=2 tabstop=2 shiftwidth=2: | ||
before: | ||
hooks: | ||
- go mod tidy | ||
- go generate ./... | ||
|
||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
flags: | ||
- -trimpath | ||
ldflags: | ||
- -s -w | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goarm: | ||
- 6 | ||
- 7 | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
|
||
archives: | ||
- files: | ||
- LICENSE | ||
- README.md | ||
- config-example.json | ||
- config-example.yaml | ||
name_template: "{{ .ProjectName }}_{{ .Env.GIT_DESCRIBE }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" | ||
wrap_in_directory: true | ||
format: tar.gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
arm: ARM | ||
arm64: ARMv8 | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
snapshot: | ||
name_template: "snapshot-{{ .Env.GIT_DESCRIBE }}" | ||
|
||
release: | ||
prerelease: auto | ||
name_template: "{{ .Env.GIT_DESCRIBE }}" | ||
|
||
changelog: | ||
filters: | ||
exclude: | ||
- '^Docs:' | ||
- '^Test:' | ||
- '^(?i)WIP:' | ||
- typo | ||
- Merge pull request | ||
- Merge branch | ||
|
||
brews: | ||
- github: | ||
owner: mudclient | ||
name: homebrew-tap | ||
folder: Formula | ||
commit_author: | ||
name: goreleaserbot | ||
email: [email protected] | ||
description: "一个用 Go 语言开发的 MUD 客户端" | ||
homepage: "https://github.com/mudclient/go-mud" | ||
skip_upload: false | ||
install: | | ||
bin.install "go-mud" |
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
Oops, something went wrong.