Skip to content

Commit

Permalink
feat: add npm run release script to ease versionning (#64)
Browse files Browse the repository at this point in the history
Using release-it, alternative to semantic-release.

`npm run release` will:
- bump the version number in package.json
- update the changelog, based on conventional commits
- create a release on github

This should make my life easier!

Also, this PR updates node.js from version 8 to version 10.
  • Loading branch information
adrienjoly authored Apr 4, 2020
1 parent 06019bb commit bc5ace3
Show file tree
Hide file tree
Showing 5 changed files with 2,370 additions and 154 deletions.
7 changes: 7 additions & 0 deletions .env.sh.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Todo:
# 1. generate a token with 'repo' scope from https://github.com/settings/tokens
# 2. paste it between the quotes below
# 3. save this file as `.env.sh` and keep it to yourself
# 4. run `$ chmod +x .env.sh`
# 5. run `$ npm run release` to release a new version on github
GITHUB_TOKEN=""
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ plato/
/public/scripts/exam-data.js
/.firebaserc
.firebase
.env.sh
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v8.16.2
v10.16.3
Loading

0 comments on commit bc5ace3

Please sign in to comment.