Skip to content

Commit ce841a5

Browse files
committed
Merge branch 'chore/ensure_release_deps_updated' into chore/upgrade-to-pact-ruby-standalone-2-4-15
2 parents c7de0bf + d1d5bf0 commit ce841a5

File tree

6 files changed

+78
-13
lines changed

6 files changed

+78
-13
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SHELL:=/bin/bash
22
export bin=@pact-foundation/pact-cli
3-
export pkg_version=$(shell cat package.json | jq -r .version)
3+
export pkg_version?=$(shell cat package.json | jq -r .version)
44
supported_platforms = "linux-x64" "linux-arm64" "darwin-x64" "darwin-arm64" "windows-x64"
55
export STANDALONE_VERSION=$(shell grep "PACT_STANDALONE_VERSION = '" standalone/install.ts | grep -E -o "'(.*)'" | cut -d"'" -f2)
66

package-lock.json

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

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
"access": "public"
5353
},
5454
"optionalDependencies": {
55-
"@pact-foundation/pact-cli-darwin-arm64": "16.0.0",
56-
"@pact-foundation/pact-cli-darwin-x64": "16.0.0",
57-
"@pact-foundation/pact-cli-windows-x64": "16.0.0",
58-
"@pact-foundation/pact-cli-linux-x64": "16.0.0",
59-
"@pact-foundation/pact-cli-linux-arm64": "16.0.0"
55+
"@pact-foundation/pact-cli-darwin-arm64": "16.0.1",
56+
"@pact-foundation/pact-cli-darwin-x64": "16.0.1",
57+
"@pact-foundation/pact-cli-windows-x64": "16.0.1",
58+
"@pact-foundation/pact-cli-linux-x64": "16.0.1",
59+
"@pact-foundation/pact-cli-linux-arm64": "16.0.1"
6060
},
6161
"dependencies": {
6262
"chalk": "4.1.2",

script/ci/build-and-test.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ node --version
2121
npm --version
2222

2323
npm ci
24-
# Link os/arch specific npm package, for running os/arch system
25-
make link
2624
# Update main package.json optional dependencies versions, with those created earlier
2725
make update_opt_deps
26+
# update lockfile post buildling updated opt deps
27+
npm i
28+
# Link os/arch specific npm package, for running os/arch system
29+
make link
2830
npm run format:check
2931
npm run lint
3032
npm run build

script/ci/lib/publish.sh

-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ if [[ ${DRY_RUN:-} == 'true' ]]; then
1616
echo "publishing in dry run mode"
1717
# Dry-run Publish os/arch specific npm packages
1818
make dry_run
19-
# Update main package.json optional dependencies versions, with those created earlier
20-
make update_opt_deps
2119
npm publish --access-public --dry-run
2220
else
2321
echo "--> Preparing npmrc file"
2422
"$SCRIPT_DIR"/create_npmrc_file.sh
2523
# Publish os/arch specific npm packages
2624
make publish
27-
# Update main package.json optional dependencies versions, with those created earlier
28-
make update_opt_deps
2925
npm publish --access public --tag latest
3026
fi
3127
echo " done!"

script/ci/release.sh

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if [ ! -z "${ONLY_DOWNLOAD_PACT_FOR_WINDOWS:-}" ]; then
4141
exit 1
4242
fi
4343

44+
export pkg_version=$NEXT_VERSION
4445
"$SCRIPT_DIR"/download-standalone-and-test.sh
4546

4647
if [[ ${DRY_RUN:-} == 'true' ]]; then

0 commit comments

Comments
 (0)