We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c389737 commit 269e4cfCopy full SHA for 269e4cf
1 file changed
.github/workflows/build.yml
@@ -29,10 +29,11 @@ jobs:
29
- name: Determine version
30
id: version
31
run: |
32
- if [[ $GITHUB_REF == refs/tags/* ]]; then
33
- echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+ if [ "${{ github.ref_type }}" = "tag" ]; then
+ echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
34
fi
35
- echo "Building version: $VERSION"
+ echo "Ref type: ${{ github.ref_type }}"
36
+ echo "Ref name: ${{ github.ref_name }}"
37
38
- name: Package tools
39
0 commit comments