Skip to content

Commit

Permalink
ci: 应该通过 poetry 命令获取版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Sep 22, 2023
1 parent ae4de9c commit 3f7506f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get Version
id: version
run: |
echo "VERSION=$(pdm show --version)" >> $GITHUB_OUTPUT
echo "VERSION=$(poetry version -s)" >> $GITHUB_OUTPUT
echo "TAG_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3f7506f

Please sign in to comment.