Skip to content

Commit

Permalink
fix: publish release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGOs92 committed Dec 8, 2020
1 parent f8c68d2 commit e88120c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ npm run build
npm run lint

# Publish new release
## Update package.json with new version X.X.X (TODO : automate this with git hooks)
git tag vX.X.X
git push origin vX.X.X

## Create draft release on github with the tag created just before

## Draft a new release. Set the “Tag version” to the value of version in your application package.json, and prefix it with v. “Release title” can be anything you want.
## For example, if your application package.json version is 1.0, your draft’s “Tag version” would be v1.0.
## Push some commits. Every CI build will update the artifacts attached to this draft.
### Once you are done, publish the release. GitHub will tag the latest commit for you
npm run build:publish

```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hip-note",
"version": "1.2.0",
"version": "1.2.2",
"author": "Guillaume Fay",
"description": "Markdown editor with templates for taking notes, writing articles, generating resumes and much more!",
"license": "MIT",
Expand Down

0 comments on commit e88120c

Please sign in to comment.