diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 93818f22f..2482632b5 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Verify commit exists in origin/main + - name: Verify commit exists in origin/v3.0.1 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/v3.0.1 - name: Set VERSION variable run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then