mirror of https://github.com/zulip/zulip.git
18 lines
355 B
Bash
18 lines
355 B
Bash
#!/bin/sh
|
|
#
|
|
# Perform GitHub publish
|
|
if [ -z "$PUBLISHER_LOGIN" ]
|
|
then
|
|
echo "Environment variable PUBLISHER_LOGIN must be set"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$PUBLISHER_PASSWORD" ]
|
|
then
|
|
echo "Environment variable PUBLISHER_PASSWORD must be set"
|
|
exit 1
|
|
fi
|
|
|
|
MODULES_ROOT=`pwd`
|
|
cd $(dirname $0)
|
|
mvn -q -s settings.xml -Dforge.modules.root="$MODULES_ROOT" deploy |