This commit is contained in:
Christian Klemm 2019-10-16 02:54:11 +02:00
parent 3073b6559c
commit 42aeafc907
No known key found for this signature in database
GPG Key ID: 57578469FC907C48
3 changed files with 5 additions and 17 deletions

View File

@ -24,25 +24,13 @@ jobs:
- name: Install Packages
run: yarn install
- name: Build
run: yarn build
#- name: Test
# run: yarn test
#- name: E2E Test
# run: yarn e2e
#- name: E2E Test
# run: yarn e2e
- name: Publish
run: |
# VERSION=$(echo ${{github.ref}} | tail -c +20)
VERSION=8.4.0
# VERSION=$(echo ${{github.ref}} | tail -c +20)-preview
VERSION=8.4.0-preview
echo $VERSION
npm version --no-git-tag-version --allow-same-version $VERSION
npm set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
npm set registry https://npm.pkg.github.com/knsv
npm publish --tag alpha --dry-run
npm publish --dry-run

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "8.4.0",
"version": "8.4.0-preview",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "8.4.0",
"version": "8.4.0-preview",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"main": "dist/mermaid.core.js",
"keywords": [