Skip to content

Commit

Permalink
use bash to get the tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Mar 16, 2024
1 parent 3864ada commit b9977ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_release.yaml
Expand Up @@ -193,6 +193,7 @@ jobs:

- name: Get sha-commit from tag
id: get_baseline_sha
shell: bash
run: |
latest_sha=$(git rev-list --tags --max-count=1)
echo "sha_tag=$latest_sha" >> "$GITHUB_OUTPUT";
Expand Down

0 comments on commit b9977ea

Please sign in to comment.