Skip to content

Commit 8fe160f

Browse files
committed
fix(package): need to run the licenser after the version bump
1 parent d0ebfd7 commit 8fe160f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "nodejs-rest-http-crud",
3+
"version": "1.2.0",
34
"description": "",
45
"author": "Red Hat, Inc.",
56
"license": "Apache-2.0",
@@ -19,8 +20,8 @@
1920
},
2021
"standard-version": {
2122
"scripts": {
22-
"postbump": "node release.js",
23-
"precommit": "git add .openshiftio/application.yaml"
23+
"postbump": "npm run postinstall && node release.js",
24+
"precommit": "git add .openshiftio/application.yaml licenses/"
2425
}
2526
},
2627
"files": [
@@ -68,6 +69,5 @@
6869
"kube-probe": "^0.3.1",
6970
"license-reporter": "^1.1.3",
7071
"pg": "^7.1.2"
71-
},
72-
"version": "1.2.0"
72+
}
7373
}

0 commit comments

Comments
 (0)