Skip to content

Commit a5cbc55

Browse files
authored
fix stable release changelog to include all changes since last stable (#716)
goreleaser was picking the nightly tag as the previous tag, so stable releases only showed incremental changes instead of the full changelog since last stable.
1 parent 19eb344 commit a5cbc55

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
git tag "v${VERSION}-nightly" 2>/dev/null || echo "Tag v${VERSION}-nightly already exists"
4848
git push origin "v${VERSION}-nightly" 2>/dev/null || echo "Tag v${VERSION}-nightly already on remote"
4949
- name: configure nightly prerelease
50-
run: yq '.release.prerelease = true' .goreleaser.yaml > /tmp/goreleaser-nightly.yaml
50+
run: yq '.release.prerelease = true | del(.git.ignore_tags)' .goreleaser.yaml > /tmp/goreleaser-nightly.yaml
5151
- name: install go
5252
uses: actions/setup-go@v6
5353
with:

.goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
version: 2
22

3+
git:
4+
ignore_tags:
5+
- ".*-nightly"
6+
37
before:
48
hooks:
59
- "rm -rf man"

0 commit comments

Comments
 (0)