From 5f8f59f8b58618473951e06c200824dea7d5b997 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 4 Jun 2021 12:06:11 +0200 Subject: [PATCH] wip --- .github/workflows/exp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/exp.yml b/.github/workflows/exp.yml index 9721695..a5fa101 100644 --- a/.github/workflows/exp.yml +++ b/.github/workflows/exp.yml @@ -36,17 +36,17 @@ jobs: if [ "$BRANCH" != "$REF" ]; then VERSION=${BRANCH#release/}" if [ "$VERSION" != "$BRANCH" ]; then - echo "COMMIT IN VERSION BRANCH" - git fetch origin wip-$BRANCH:wip-$BRANCH + echo "COMMIT IN VERSION $VERSION BRANCH $BRANCH" + git fetch origin wip-$VERSION:wip-$VERSION if [ $? -ne 0 ]; then echo "TAG NOT FOUND" else - TAGSHA=$(git rev-parse wip-$BRANCH) + TAGSHA=$(git rev-parse wip-$VERSION) echo "FOUND TAG $TAGSHA" if [ "$TAGSHA" != "${{ github.sha }}" ]; then echo "BAD TAG" else - echo "GOOD TAG" + echo "TAGGED BRANCH" fi fi else