fix: debugging pipeline

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

View File

@@ -71,8 +71,11 @@ jobs:
echo "V_FORMAT=${major}.${minor}.${patch}" >> $GITHUB_ENV
elif [[ "${{ github.head_ref }}" == "dev" ]]; then
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
uses: PaulHatch/semantic-version@v5.4.0
id: git_version
@@ -81,7 +84,7 @@ jobs:
major_pattern: "breaking:"
minor_pattern: "feat:"
enable_prerelease_mode: false
version_format: ${{ steps.set_version.outputs.V_FORMAT }}
version_format: "${major}.${minor}.${patch}-prerelease${increment}"
- name: Create & Push Tag
if: github.head_ref == 'master' || github.head_ref == 'dev'