Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Sep 20, 2021
1 parent b1997b0 commit 1b2622a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
- name: Push updates to branch for major version
if: steps.semantic.outputs.new_release_published == 'true'
run: |
git push -f origin HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
git push -f origin :refs/tags/v${{steps.semantic.outputs.new_release_major_version}}
git push -f https://x-access->token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
git push -f https://x-access->token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git :refs/tags/v${{steps.semantic.outputs.new_release_major_version}}
git tag -f v${{steps.semantic.outputs.new_release_major_version}}
git push -f origin v${{steps.semantic.outputs.new_release_major_version}}
git push -f https://x-access->token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git v${{steps.semantic.outputs.new_release_major_version}}
env:
GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}

0 comments on commit 1b2622a

Please sign in to comment.