We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29fc60 commit 88503b5Copy full SHA for 88503b5
1 file changed
.github/workflows/ci.yml
@@ -89,6 +89,10 @@ jobs:
89
id: tutor-version
90
run: |
91
version=$(tutor --version | awk '{print $NF}')
92
+ if [[ -d "./tutor/.git" ]]; then
93
+ tutor_sha=$(git -C ./tutor rev-parse --short HEAD)
94
+ version="${version}+git.${tutor_sha}"
95
+ fi
96
version_tag=${version//[^A-Za-z0-9_.-]/-}
97
echo "version=$version" >> "$GITHUB_OUTPUT"
98
echo "version_tag=$version_tag" >> "$GITHUB_OUTPUT"
0 commit comments