Skip to content

Commit

Permalink
Create only pre-release for non-final versions
Browse files Browse the repository at this point in the history
  • Loading branch information
frittentheke committed Apr 2, 2024
1 parent 8781f8a commit aa566cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: Run Tests
run: go test ./...

release:
if: startsWith(github.event.ref, 'refs/tags/v')
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ release:
- ghcr.io/inovex/prometheus-libvirt-exporter:{{ trimprefix .Tag "v" }}-amd64
- ghcr.io/inovex/prometheus-libvirt-exporter:{{ trimprefix .Tag "v" }}-arm64
- ghcr.io/inovex/prometheus-libvirt-exporter:{{ trimprefix .Tag "v" }}-riscv64
#draft: true
prerelease: auto
replace_existing_draft: true

0 comments on commit aa566cc

Please sign in to comment.