mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-15 21:00:36 +02:00
fix: attempt on fixing the versioning issue
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -68,9 +68,9 @@ jobs:
|
|||||||
id: set_version
|
id: set_version
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.head_ref }}" == "master" ]]; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
- name: Git Version
|
- name: Git Version
|
||||||
|
|||||||
Reference in New Issue
Block a user