Skip to content

Commit

Permalink
fix tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningLeon committed May 25, 2023
1 parent 9e5db62 commit fcf0c58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
export MMDEPLOY_VERSION=$(python3 -c "import sys; sys.path.append('mmdeploy');from version import __version__;print(__version__)")
echo $MMDEPLOY_VERSION
echo "MMDEPLOY_VERSION=$MMDEPLOY_VERSION" >> $GITHUB_ENV
echo "TAG_NAME=v$MMDEPLOY_VERSION" >> $GITHUB_ENV
echo "OUTPUT_DIR=$PREBUILD_DIR/$MMDEPLOY_VERSION" >> $GITHUB_ENV
pip install twine
- name: Upload mmdeploy
Expand All @@ -51,7 +52,7 @@ jobs:
- name: Upload mmdeploy sdk
uses: softprops/action-gh-release@v1
with:
tag_name: v${MMDEPLOY_VERSION}
tag_name: $TAG_NAME
files: |
./prebuild/*.zip
./prebuild/*.tar.gz

0 comments on commit fcf0c58

Please sign in to comment.