From 2b62d4a3a7b0df82db20316d5d0d14a245c0ed41 Mon Sep 17 00:00:00 2001 From: John Wilger Date: Wed, 1 Nov 2023 21:55:29 -0700 Subject: [PATCH] Fix the target branch for pushing the version change in mix.exs --- .github/workflows/publish_release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 7f5e63f..1ee39cd 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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