fix: debugging pipeline

This commit is contained in:
2024-10-25 14:44:18 +02:00
parent c24f8933fb
commit 89351d714b

View File

@@ -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'