fix: attempt on fixing the versioning issue

This commit is contained in:
2024-10-25 14:25:48 +02:00
parent 5903de2aad
commit 8463eef907

View File

@@ -68,9 +68,9 @@ jobs:
id: set_version
run: |
if [[ "${{ github.head_ref }}" == "master" ]]; then
echo "V_FORMAT='${major}.${minor}.${patch}'" >> $GITHUB_OUTPUT
echo "V_FORMAT=${major}.${minor}.${patch}" >> $GITHUB_ENV
elif [[ "${{ github.head_ref }}" == "dev" ]]; then
echo "V_FORMAT='${major}.${minor}.${patch}-rc${increment}'" >> $GITHUB_OUTPUT
echo "V_FORMAT=${major}.${minor}.${patch}-rc${increment}" >> $GITHUB_ENV
fi
- name: Git Version