File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 steps :
2727
28-
2928 - uses : actions/create-github-app-token@v1
3029 id : app-token
3130 with :
@@ -62,24 +61,26 @@ jobs:
6261 - name : Setup environment with UV
6362 run : |
6463 uv sync --dev
64+
6565 CURRENT_VERSION=$(uv run semantic-release --noop version --print-last-released)
6666 NEXT_VERSION=$(uv run semantic-release --noop version --print)
67+ TAG=$(uv run semantic-release --noop version --print-tag)
6768
6869 if [ "$CURRENT_VERSION" = "$NEXT_VERSION" ]; then
6970 echo "deploy=false" >> $GITHUB_ENV
7071 else
7172 echo "deploy=true" >> $GITHUB_ENV
7273 fi
74+ echo "tag=$TAG" >> $GITHUB_OUTPUT
7375
7476 - name : Update version and changelogs
7577 if : env.deploy
7678 env :
7779 GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
7880 run : >
79- uv run semantic-release -vv version
80- --commit --tag --changelog --push
81- --skip-build --no-vcs-release
82-
81+ uv run semantic-release -vv version --skip-build
82+ --commit --tag --changelog --push --vcs-release
83+
8384 - name : Build and publish package distributions
8485 if : env.deploy
8586 run : |
You can’t perform that action at this time.
0 commit comments