Skip to content

Commit aad3c83

Browse files
committed
added option to customize release process via environment variables
this might be necessary if there are dependency updates we decided to skip (e.g. for faucet-core)
1 parent c55ef74 commit aad3c83

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

bin/release

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ root=`node -r fs -p "fs.realpathSync(process.argv[1]);" "$root/.."`
77

88
. ./node_modules/release-util-fnd/lib.sh
99

10-
"$root/bin/update-pkg"
10+
skip=${SKIP_UPDATES:-""}
11+
if [ -z "$skip" ]; then
12+
"$root/bin/update-pkg"
13+
fi
1114

1215
# ensure meta-packages are in sync and up to date
1316
version=`determine_version "."`
@@ -23,7 +26,10 @@ done
2326
"$root/bin/validate-dependencies" faucet-pipeline-js $packages
2427
unset version
2528

26-
pre_release_checks
29+
skip=${SKIP_CHECKS:-""}
30+
if [ -z "$skip" ]; then
31+
pre_release_checks
32+
fi
2733
npm test
2834

2935
target_dir=`create_package`

0 commit comments

Comments
 (0)