workflow: fix sed regex for package version
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
path: ./dist
|
||||
- name: Create Git Tag
|
||||
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 push origin "$VERSION"
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user