diff --git a/.github/workflows/package-publish.yml b/.github/workflows/package-publish.yml index 60ccb72..5213d9d 100644 --- a/.github/workflows/package-publish.yml +++ b/.github/workflows/package-publish.yml @@ -29,10 +29,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Verify commit exists in origin/main + - name: Verify commit exists in origin/master run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/main + git branch --remote --contains | grep origin/master - name: Set VERSION variable from tag run: | echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV