Skip to content

Commit a0bc3ff

Browse files
authored
fix: release artifact and documentation: (#27)
1 parent 2b5c228 commit a0bc3ff

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
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: |

0 commit comments

Comments
 (0)