File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 8
8
/.nycrc
9
9
/.travis.yml
10
10
/coverage
11
+ /tag-release.sh
11
12
/test /.eslintrc.yaml
12
13
/yarn.lock
13
14
__ *
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ Unreleased ]
7
+ ## [ 0.1.0 ] - 2018-03-12
8
8
### Added
9
- - Functionality to remove indenting spaces from multiline string
9
+ - Initial release
Original file line number Diff line number Diff line change 8
8
"check" : " yarn run lint && yarn test" ,
9
9
"lint" : " eslint ." ,
10
10
"test" : " mocha test --recursive" ,
11
+ "prepublish" : " yarn run check" ,
12
+ "postpublish" : " ./tag-release.sh" ,
11
13
"coverage" : " nyc yarn test"
12
14
},
13
15
"repository" : {
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ RELEASE_VER=$( node -p ' JSON.parse(require("fs").readFileSync("./package.json", "utf8")).version' )
6
+
7
+ GIT_TAG_NAME=v$RELEASE_VER
8
+ git tag -a $GIT_TAG_NAME -m $GIT_TAG_NAME
9
+ git push origin $GIT_TAG_NAME
You can’t perform that action at this time.
0 commit comments