From 313bf04b345da488dd6345ddab55944124b69d8f Mon Sep 17 00:00:00 2001 From: "semih.cavdar" Date: Tue, 19 Mar 2024 22:26:04 +0300 Subject: [PATCH] try --- .github/workflows/version-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml index c732925..f68bfee 100644 --- a/.github/workflows/version-check.yml +++ b/.github/workflows/version-check.yml @@ -16,7 +16,7 @@ jobs: - name: Get previous version id: previous_version run: | - version=$(git show HEAD~1:.github/workflows/publish.yml | awk '/tags/{print $2}' | sed 's/,$//') + version=$(git show HEAD^:.github/workflows/publish.yml | awk '/tags/{print $2}' | sed 's/,$//') echo "version=$version" >> $GITHUB_ENV - name: Use Output