From 4c783ec84dfd92a869f042816db5d7ca8e1121e3 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 3 Jan 2024 20:25:54 +0100 Subject: [PATCH] Update git branch for commit verification in workflow The Github workflow's step for verifying commits' existence has been updated. Instead of searching in the 'origin/main' branch, the workflow now checks in the 'origin/v3.0.1' branch. This modification ensures compatibility and consistency with the version being used. --- .github/workflows/packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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