👷 Ignore prerelease tags in stable changelog
This commit is contained in:
1 parent
0172acff0c
commit
8884f209fa
1 file changed
+4
@@ -20,6 +20,10 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Ignore prerelease tags
|
||||
if: "!contains(github.ref_name, '-')"
|
||||
run: |
|
||||
git tag -l | grep -E '\-dev|\-rc|\-beta|\-alpha' | xargs -r git tag -d
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version-file: ./go.mod
|
||||
|
||||
Reference in new issue
Block a user