chore: replace v char in tag name

This commit is contained in:
李华桥
2023-12-21 10:35:30 +08:00
parent 04e7a9fc14
commit 55792e2f41

View File

@@ -8,7 +8,7 @@ runs:
shell: bash
run: |
if [ "${{ github.ref_type }}" == "tag" ]; then
APP_VERSION=${{ github.ref_name }}
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
else
PACKAGE_VERSION=$(node -p "require('./package.json').version")
TIME_VERSION=$(date +%Y%m%d%H%M)