This commit is contained in:
Christian Klemm
2019-10-16 03:15:33 +02:00
parent 42aeafc907
commit 6e088d17fd

View File

@@ -26,8 +26,9 @@ jobs:
- name: Publish - name: Publish
run: | run: |
# VERSION=$(echo ${{github.ref}} | tail -c +20)-preview # VERSION=$(echo ${{github.ref}} | tail -c +20)-preview.$PREVIEW_VERSION
VERSION=8.4.0-preview PREVIEW_VERSION=$(git rev-list --count --first-parent HEAD)
VERSION=8.4.0-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 $GITHUB_TOKEN npm set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN