Merge pull request #6614 from vector-im/dbkr/fix_release_wrapper

Fix args in the release wrapper script
pull/6624/head
Luke Barnard 2018-04-26 13:06:34 +01:00 committed by GitHub
commit 2dc1c5c618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,15 @@
set -e set -e
orig_args=$@
# chomp any args starting with '-' as these need to go
# through to the release script and otherwise we'll get
# confused about what the version arg is.
while [[ "$1" == -* ]]; do
shift
done
cd `dirname $0` cd `dirname $0`
for i in matrix-js-sdk matrix-react-sdk for i in matrix-js-sdk matrix-react-sdk
@ -38,4 +47,4 @@ git commit package.json -m "$tag"
cd .. cd ..
exec ./node_modules/matrix-js-sdk/release.sh -z "$@" exec ./node_modules/matrix-js-sdk/release.sh -z "$orig_args"