Skip to content

Commit

Permalink
feat: fix release tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
myyk committed Oct 16, 2023
1 parent da218de commit a0799f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
steps:
- name: Run Release Please
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
package-name: git-democracy
Expand All @@ -28,7 +29,7 @@ jobs:
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ env.GITHUB_REPOSITORY}}.git"
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ env.GITHUB_REPOSITORY }}.git"
git tag -d v${{ steps.release.outputs.major }} || true
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
git push origin :v${{ steps.release.outputs.major }} || true
Expand Down

0 comments on commit a0799f2

Please sign in to comment.