Skip to content

Commit

Permalink
release:hotfix - Fixing release process (#581)
Browse files Browse the repository at this point in the history
In this commit we found the problem in beta and rc,
because there is a flag to skip publish and this is wrong.

Signed-off-by: Wilian Gabriel <[email protected]>
(cherry picked from commit 8d5e1a7)
  • Loading branch information
wiliansilvazup authored and nathanmartinszup committed Mar 7, 2022
1 parent 105d0e1 commit 956f7f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist --skip-publish
args: release --rm-dist
env:
COSIGN_KEY: ${{ secrets.COSIGN_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -145,6 +145,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Sign image
if: ${{ success() }}
run: |
cosign sign -key $COSIGN_KEY_LOCATION horuszup/horusec-manager:${{ steps.updated-version.outputs.nextBetaVersion }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist --skip-publish
args: release --rm-dist
env:
COSIGN_KEY: ${{ secrets.COSIGN_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ source:
enabled: true

release:
ids:
-
draft: false
prerelease: auto
mode: append
footer: |
## Docker images
Expand Down Expand Up @@ -430,3 +433,5 @@ changelog:
- '^build(deps):.*$'
- '^Update dependency.*$'
- '^versioning:release.*$'
- '^deps:\supdate.*$'
- '^renovatebot:.*$'

0 comments on commit 956f7f6

Please sign in to comment.