workflow: fix sed regex for package version
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
path: ./dist
|
path: ./dist
|
||||||
- name: Create Git Tag
|
- name: Create Git Tag
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(ls dist/*.pkg.tar.zst | sed 's/^rscli-git-\(r[^ ]*\)-.*$/\1/')
|
VERSION=$(ls dist/*.pkg.tar.zst | sed 's/^rscli-git-\(r[^-]*-[^-]*\)-.*$/\1/')
|
||||||
git tag "$VERSION"
|
git tag "$VERSION"
|
||||||
git push origin "$VERSION"
|
git push origin "$VERSION"
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user