Add build versioning

This commit is contained in:
Sidharth Vinod
2021-05-03 15:40:34 +05:30
parent 8b5bbf0bef
commit ab558c6f32
3 changed files with 10 additions and 5 deletions
@@ -1,13 +1,17 @@
## :bookmark_tabs: Summary
Brief description about the content of your PR:
Resolves #<your issue id here>
## :straight_ruler: Design Decisions
Describe the way your implementation works or what design decisions you made if applicable:
### :clipboard: Tasks
Make sure you
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `master` branch
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `master` branch
+2 -1
View File
@@ -19,8 +19,9 @@ jobs:
npm i -g yarn
yarn install
yarn release
yarn version --prerelease --no-git-tag-version
git config user.name github-actions
git config user.email github-actions@github.com
git add ./docs/*
git commit -m "Release"
git commit -m "Release $(yarn version --version)"
git push
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mermaid-live-editor",
"version": "1.2.2",
"version": "1.2.4-5",
"license": "MIT",
"devDependencies": {
"cross-env": "^7.0.3",