Skip to content

Commit ef31614

Browse files
committed
pre-publish update to v0.8
Signed-off-by: shmck <[email protected]>
1 parent 85a8d12 commit ef31614

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coderoad/cli",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "A CLI to build the configuration file for Coderoad Tutorials",
55
"keywords": [
66
"coderoad",
@@ -33,7 +33,8 @@
3333
"build": "npm run clean && npm run compile",
3434
"clean": "del-cli --force ./build",
3535
"compile": "tsc",
36-
"test": "jest"
36+
"test": "jest",
37+
"postpublish" : "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
3738
},
3839
"jest": {
3940
"collectCoverage": true,

0 commit comments

Comments
 (0)