CI: fix rolling build publishing

This commit is contained in:
Jesse Chan
2020-09-19 16:57:34 +08:00
parent 0562859bdf
commit 83e789ce73

View File

@@ -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