File tree 7 files changed +79
-14
lines changed
7 files changed +79
-14
lines changed Original file line number Diff line number Diff line change 1
1
SHELL: =/bin/bash
2
2
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)
4
4
supported_platforms = "linux-x64" "linux-arm64" "darwin-x64" "darwin-arm64" "windows-x64"
5
5
export STANDALONE_VERSION =$(shell grep "PACT_STANDALONE_VERSION = '" standalone/install.ts | grep -E -o "'(.* ) '" | cut -d"'" -f2)
6
6
Original file line number Diff line number Diff line change 52
52
"access" : " public"
53
53
},
54
54
"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 "
60
60
},
61
61
"dependencies" : {
62
62
"chalk" : " 4.1.2" ,
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ node --version
21
21
npm --version
22
22
23
23
npm ci
24
- # Link os/arch specific npm package, for running os/arch system
25
- make link
26
24
# Update main package.json optional dependencies versions, with those created earlier
27
25
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
28
30
npm run format:check
29
31
npm run lint
30
32
npm run build
Original file line number Diff line number Diff line change @@ -16,16 +16,12 @@ if [[ ${DRY_RUN:-} == 'true' ]]; then
16
16
echo " publishing in dry run mode"
17
17
# Dry-run Publish os/arch specific npm packages
18
18
make dry_run
19
- # Update main package.json optional dependencies versions, with those created earlier
20
- make update_opt_deps
21
19
npm publish --access-public --dry-run
22
20
else
23
21
echo " --> Preparing npmrc file"
24
22
" $SCRIPT_DIR " /create_npmrc_file.sh
25
23
# Publish os/arch specific npm packages
26
24
make publish
27
- # Update main package.json optional dependencies versions, with those created earlier
28
- make update_opt_deps
29
25
npm publish --access public --tag latest
30
26
fi
31
27
echo " done!"
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ if [ ! -z "${ONLY_DOWNLOAD_PACT_FOR_WINDOWS:-}" ]; then
41
41
exit 1
42
42
fi
43
43
44
+ export pkg_version=$NEXT_VERSION
44
45
" $SCRIPT_DIR " /download-standalone-and-test.sh
45
46
46
47
if [[ ${DRY_RUN:- } == ' true' ]]; then
Original file line number Diff line number Diff line change 1
1
import chalk = require( 'chalk' ) ;
2
2
3
3
// Get latest version from https://github.com/pact-foundation/pact-ruby-standalone/releases
4
- export const PACT_STANDALONE_VERSION = '2.4.14 ' ;
4
+ export const PACT_STANDALONE_VERSION = '2.4.15 ' ;
5
5
6
6
function makeError ( msg : string ) : Error {
7
7
return new Error ( chalk . red ( `Error while locating pact binary: ${ msg } ` ) ) ;
You can’t perform that action at this time.
0 commit comments