Skip to content

Commit 6116552

Browse files
committed
adding post-release hook for npm publish
1 parent 174521b commit 6116552

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

HISTORY.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
0.0.1 / 2015-07-14
3+
==================
4+
5+
* initial release

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "duo-tester",
3-
"version": "0.0.0",
3+
"version": "0.0.1",
44
"description": "Automated testing tool for developers using duo",
55
"repository": "dominicbarnes/duo-tester",
66
"bin": "bin/duo-test",
@@ -12,5 +12,8 @@
1212
"mocha-phantomjs": "^3.5.3",
1313
"phantomjs": "^1.9.16",
1414
"win-spawn": "^2.0.0"
15+
},
16+
"scripts": {
17+
"hooks": "cp scripts/hooks/* .git/hooks/"
1518
}
1619
}

scripts/hooks/post-release.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
npm publish

0 commit comments

Comments
 (0)