Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
semih.cavdar committed Mar 19, 2024
1 parent 348af94 commit 313bf04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 313bf04

Please sign in to comment.