Hardcoding preview version

This commit is contained in:
Knut Sveidqvist 2021-07-28 10:20:14 +02:00
parent f2910da513
commit 024f7c3275
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Publish
run: |
PREVIEW_VERSION=$(git rev-list --count --first-parent HEAD)
PREVIEW_VERSION=2
VERSION=$(echo ${{github.ref}} | tail -c +20)-preview.$PREVIEW_VERSION
echo $VERSION
npm version --no-git-tag-version --allow-same-version $VERSION