Compare commits

...

2 Commits

Author SHA1 Message Date
503d248140 Change goreleaser config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-01-13 11:41:30 +01:00
9c310c714a Fetch tags for goreleaser
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-01-13 11:28:40 +01:00
2 changed files with 7 additions and 8 deletions

View File

@ -12,14 +12,12 @@ builds:
goos: goos:
- linux - linux
- windows - windows
- darwin goarch:
- amd64
archives: archives:
- replacements: - format_overrides:
darwin: Darwin - goos: windows
linux: Linux format: zip
windows: Windows
386: i386
amd64: x86_64
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:
@ -34,4 +32,4 @@ gitea_urls:
api: https://git.t-juice.club/api/v1/ api: https://git.t-juice.club/api/v1/
download: https://git.t-juice.club download: https://git.t-juice.club
env_files: env_files:
gitea_token: gitea_token gitea_token: gitea_token

View File

@ -38,6 +38,7 @@ pipeline:
goreleaser-tagged: goreleaser-tagged:
image: goreleaser/goreleaser image: goreleaser/goreleaser
commands: commands:
- git fetch --tags
- echo "$GITEA_TOKEN" > gitea_token - echo "$GITEA_TOKEN" > gitea_token
- goreleaser release - goreleaser release
when: when: