mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
CI: fix rolling build publishing
This commit is contained in:
4
.github/workflows/publish-rolling.yml
vendored
4
.github/workflows/publish-rolling.yml
vendored
@@ -26,9 +26,7 @@ jobs:
|
||||
|
||||
- name: Tag rolling release
|
||||
run: |
|
||||
git_branch=${GITHUB_REF##*/}
|
||||
git_hash=$(git rev-parse --short "$GITHUB_SHA")
|
||||
npm version --no-git-tag-version 0.0.0-$git_branch.$git_hash
|
||||
npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD`
|
||||
- name: Use @${{ github.actor }} scope
|
||||
run: |
|
||||
jq '.name = "@${{ github.actor }}/flood"' package.json > package.new.json
|
||||
|
||||
Reference in New Issue
Block a user