More nightly build work, hardcode env vars and remove version (#3138)

Signed-off-by: James Humphries <james@james-humphries.co.uk>
This commit is contained in:
James Humphries 2025-08-13 14:33:52 +01:00 committed by GitHub
parent 5c6421ed8c
commit ee0029965f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -58,6 +58,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
RELEASE_FLAG_LATEST: "false"
RELEASE_FLAG_PRERELEASE: "true"
- name: Remove GPG key
if: always()

View file

@ -351,8 +351,8 @@ snapshot:
# Docs are here: https://github.com/goreleaser/goreleaser/blob/v1.26.2/www/docs/customization/nightlies.md
nightly:
# Version format: 1.9.0-20250806-nightly-c5fd934
name_template: "{{ .Version }}-{{ .Now.Format \"20060102\" }}-nightly-{{ .ShortCommit }}"
# Version format: nightly-20250806-c5fd934
name_template: "nightly-{{ .Now.Format \"20060102\" }}-{{ .ShortCommit }}"
publish_release: false
changelog: