Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Martins <[email protected]>
  • Loading branch information
nathanmartinszup committed Nov 9, 2021
1 parent 9db0329 commit 546c430
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,12 @@ jobs:
COSIGN_PWD: ${{ secrets.COSIGN_PWD }}
GORELEASER_CURRENT_TAG: ${{ steps.updated-version.outputs.version }}

- name: Create and push release branch and tag
run: git push origin ${GITHUB_REF##*/}

- name: Create and push release branch and tag
- name: Create release branch
if: github.event.inputs.releaseType != 'p'
run: |
git push --tags
git branch ${{ steps.updated-version.outputs.releaseBranchName }}
git push origin ${{ steps.updated-version.outputs.releaseBranchName }}
- name: Push tag
run: |
git push origin ${{ steps.updated-version.outputs.version }}

0 comments on commit 546c430

Please sign in to comment.