Use github.ref_name instead

This commit is contained in:
reggie 2024-10-02 02:28:32 -05:00
parent 776112fc41
commit 6688f809eb

View File

@ -30,7 +30,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
echo "build_version=${{ github.ref_name }}" >> $GITHUB_OUTPUT
shell: bash
- name: Create tag
@ -79,7 +79,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
echo "build_version=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
shell: bash
@ -177,7 +177,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
echo "build_version=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
#- name: Configure for release