mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-16 05:10:31 +02:00
fix: debugging pipeline
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -71,7 +71,10 @@ jobs:
|
|||||||
echo "V_FORMAT=${major}.${minor}.${patch}" >> $GITHUB_ENV
|
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}-prerelease${increment}" >> $GITHUB_ENV
|
echo "V_FORMAT=${major}.${minor}.${patch}-prerelease${increment}" >> $GITHUB_ENV
|
||||||
fi
|
fi"
|
||||||
|
|
||||||
|
- name: get version format
|
||||||
|
run: echo "${{ steps.set_version.outputs.V_FORMAT }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: Git Version
|
- name: Git Version
|
||||||
uses: PaulHatch/semantic-version@v5.4.0
|
uses: PaulHatch/semantic-version@v5.4.0
|
||||||
@@ -81,7 +84,7 @@ jobs:
|
|||||||
major_pattern: "breaking:"
|
major_pattern: "breaking:"
|
||||||
minor_pattern: "feat:"
|
minor_pattern: "feat:"
|
||||||
enable_prerelease_mode: false
|
enable_prerelease_mode: false
|
||||||
version_format: ${{ steps.set_version.outputs.V_FORMAT }}
|
version_format: "${major}.${minor}.${patch}-prerelease${increment}"
|
||||||
|
|
||||||
- name: Create & Push Tag
|
- name: Create & Push Tag
|
||||||
if: github.head_ref == 'master' || github.head_ref == 'dev'
|
if: github.head_ref == 'master' || github.head_ref == 'dev'
|
||||||
|
|||||||
Reference in New Issue
Block a user