finished ci
This commit is contained in:
parent
04f86ef130
commit
2348f9d785
|
@ -1,10 +1,9 @@
|
||||||
name: Publish release preview package
|
name: Publish release preview package
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
#on:
|
push:
|
||||||
# push:
|
branches:
|
||||||
# branches:
|
- 'release/**'
|
||||||
# - 'release/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
@ -29,9 +28,8 @@ jobs:
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
# VERSION=$(echo ${{github.ref}} | tail -c +20)-preview.$PREVIEW_VERSION
|
|
||||||
PREVIEW_VERSION=$(git rev-list --count --first-parent HEAD)
|
PREVIEW_VERSION=$(git rev-list --count --first-parent HEAD)
|
||||||
VERSION=8.4.0-preview.$PREVIEW_VERSION
|
VERSION=$(echo ${{github.ref}} | tail -c +20)-preview.$PREVIEW_VERSION
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
npm version --no-git-tag-version --allow-same-version $VERSION
|
npm version --no-git-tag-version --allow-same-version $VERSION
|
||||||
npm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
|
npm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue