File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,16 @@ jobs:
6161 env :
6262 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6363 DEFAULT_BUMP : " patch"
64- TAG_CONTEXT : ${{ (github.base_ref != 'main') && 'branch ' || 'repo' }}
64+ TAG_CONTEXT : ${{ (github.base_ref != 'main') && 'repo ' || 'repo' }}
6565 PRERELEASE_SUFFIX : " beta"
66- PRERELEASE : ${{ (github.base_ref != 'main') && 'true ' || 'false' }}
66+ PRERELEASE : ${{ (github.base_ref != 'main') && 'false ' || 'false' }}
6767 DRY_RUN : true
6868
6969 - name : Compare versions
7070 run : |
7171 echo "Current version: ${{ steps.pyproject_version.outputs.TAG }}"
7272 echo "New version: ${{ steps.semantic_release.outputs.tag }}"
73- if [ "${{ steps.pyproject_version.outputs.TAG }}" != "${{ steps.semantic_release.outputs.tag }}" ]; then
73+ if [ "${{ steps.pyproject_version.outputs.TAG }}" != "${{ steps.semantic_release.outputs.old_tag }}" ]; then
7474 echo "### Version mismatch detected! :warning:
7575 Current version: ${{ steps.pyproject_version.outputs.TAG }}
7676 New version: **${{ steps.semantic_release.outputs.tag }}**
You can’t perform that action at this time.
0 commit comments