Skip to content

Commit

Permalink
delete non-sem ver tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mjudeikis committed Dec 16, 2024
1 parent fb093d2 commit b04798a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
tags:
- 'v*'

permissions:
contents: write

Expand All @@ -23,6 +23,8 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: v1.23.4
- name: Delete non-semver tags
run: 'git tag -d $(git tag -l | grep -v "^v")'
- name: Run GoReleaser on tag
if: github.event_name != 'pull_request'
uses: goreleaser/goreleaser-action@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
go-version: v1.23.4
check-latest: true
- name: Delete non-semver tags
run: 'git tag -d $(git tag -l | grep -v "^v")'
- uses: sigstore/cosign-installer@v2.7.0
- name: Install ko
run: go install github.com/google/ko@latest
Expand Down

0 comments on commit b04798a

Please sign in to comment.