Skip to content

Commit

Permalink
Fix the target branch for pushing the version change in mix.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilger committed Nov 2, 2023
1 parent 74fb1fa commit 2b62d4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
branch: main
- name: Delete existing tag
run: git tag -d v$VERSION || true
- name: Push tag deletion
run: git push origin :refs/tags/v$VERSION || true
- name: Tag the commit
run: git tag v$VERSION
- name: Tag the new commit
run: git tag v$VERSION HEAD
- name: Push tags
run: git push --tags
- name: Publish to Hex
Expand Down

0 comments on commit 2b62d4a

Please sign in to comment.