From 88de00a1f453e9fa20a81aa0b391c498ce871392 Mon Sep 17 00:00:00 2001 From: Christoph Hannebauer Date: Fri, 7 Jun 2024 10:33:42 +0200 Subject: [PATCH] #20 Fix diff calculation --- .github/workflows/auto-publish-in-azure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-publish-in-azure.yml b/.github/workflows/auto-publish-in-azure.yml index 8709995..fda5615 100644 --- a/.github/workflows/auto-publish-in-azure.yml +++ b/.github/workflows/auto-publish-in-azure.yml @@ -22,7 +22,7 @@ jobs: - id: regexparsing run: | echo "Sha=$GITHUB_SHA" - diff=$(git diff --name-only --diff-filter=AM origin/master..${GITHUB_SHA} | tr '\n' ' ') + diff=$(git diff --name-only --diff-filter=AM ${GITHUB_SHA}^..${GITHUB_SHA} | tr '\n' ' ') echo "test-x" echo "diff=$diff" [[ $diff =~ ([a-z-]+)\/[a-zA-Z-]*Artifacts-?([a-zA-Z]*)\.zip ]]