Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 08a4604

Browse files
committed
Only replace first character in version string
1 parent 349d5dd commit 08a4604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- id: get-version
1818
run: |
19-
PACKAGE_VERSION=$(echo $PACKAGE_VERSION | tr -d 'v')
19+
PACKAGE_VERSION=$(echo $PACKAGE_VERSION | sed s/^v//)
2020
echo "::set-output name=version::$PACKAGE_VERSION"
2121
- name: Checkout
2222
uses: actions/checkout@v2

0 commit comments

Comments
 (0)