🔨 rename

This commit is contained in:
naiba 2020-11-29 22:38:17 +08:00
parent ffc359e2a3
commit a7cc7ac49b
3 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')

View File

@ -10,6 +10,7 @@ on:
- "README.md" - "README.md"
- "cmd/agent/**" - "cmd/agent/**"
- ".github/agent.yaml" - ".github/agent.yaml"
- ".goreleaser.yml"
jobs: jobs:
deploy: deploy:

View File

@ -10,6 +10,8 @@ builds:
- windows - windows
- darwin - darwin
main: ./cmd/agent main: ./cmd/agent
release:
name_template: "nezha-agent_{{.Os}}_{{.Arch}}"
checksum: checksum:
name_template: "checksums.txt" name_template: "checksums.txt"
snapshot: snapshot: