You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
320 B
14 lines
320 B
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
cd "$(dirname "$0")"
|
||
|
|
||
|
if [[ -z "$COMPOSE_CUSTOM_VERSION" ]]; then
|
||
|
echo "Must provide COMPOSE_CUSTOM_VERSION in environment" 1>&2
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
pushd ../../web
|
||
|
./gradlew publishToMavenLocal -PCOMPOSE_CORE_VERSION="$COMPOSE_CUSTOM_VERSION" -PCOMPOSE_WEB_VERSION="$COMPOSE_CUSTOM_VERSION" || exit 1
|
||
|
popd
|
||
|
|