Skip to content

Commit 4e90a30

Browse files
committed
build(package): updated pact:publish
1 parent a03b3d8 commit 4e90a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"pact_do_not_track": true
2121
},
2222
"scripts": {
23-
"pact:publish": "pact-broker publish pacts --consumer-app-version=\"$npm_package_version\" --auto-detect-version-properties --broker-base-url=${PACT_BROKER_BASE_URL}",
23+
"pact:publish": "pact-broker publish pacts --consumer-app-version=\"$npm_package_version-$(git rev-parse --short HEAD)\" --auto-detect-version-properties --broker-base-url=${PACT_BROKER_BASE_URL}",
2424
"test": "jest",
2525
"test:watch": "jest --watch",
2626
"coverage": "jest --coverage",

0 commit comments

Comments
 (0)