RELEASETYPEDIR=
RELEASETYPENAME="$RELEASETYPE"
;;
+ RC*)
+ RELEASETYPEDIR="$RELEASETYPE/"
+ RELEASETYPENAME="$RELEASETYPE build"
+ ;;
*)
RELEASETYPEDIR="$RELEASETYPE/"
RELEASETYPENAME="$RELEASETYPE-like build"
# pipeline files, see: .gitlab-ci.yml in xonotic-data.pk3dir
cp data/stormkeep-????????????????????????????????????????-????????????????????????????????????????.pk3 stormkeep.pk3
PIPELINE_FILES="gmqcc/gmqcc Xonotic/xonotic-linux64-dedicated stormkeep.pk3"
- for FILE in $PIPELINE_FILES; do
- rsync -vSP "$FILE" autobuild-release-uploader@beta.xonotic.org:../pipeline-bin/
- done
+ rsync -vSP $PIPELINE_FILES autobuild-release-uploader@beta.xonotic.org:../pipeline-bin/
rm -f stormkeep.pk3
fi
echo "Finished a new $RELEASETYPENAME at http://beta.xonotic.org/autobuild/$RELEASETYPEDIR" | $IRCSPAM
# (YYYYMMDD)
exit 1
;;
- release)
+ release|RC*)
msg "Building a FINISHED RELEASE"
getversion data/xonotic-data.pk3dir
verbose "$SELF" each -k git tag -m "TEMP TAG" -f "xonotic-v$versionstr"
if [ -n "$RELEASEDATE" ]; then
verbose $ECHO "$RELEASEDATE" > Xonotic/stamp.txt
case "$RELEASETYPE" in
- release)
+ release|RC*)
verbose $ECHO "${RELEASEDATE%_*}" > Xonotic/pk3stamp.txt
;;
*)
case "$RELEASETYPE" in
release)
;;
+ RC*)
+ versionstr="$versionstr $RELEASETYPE"
+ ;;
*)
versionstr="$versionstr$RELEASETYPE"
;;
fi
mv xonotic-common.cfg.new xonotic-common.cfg
case "$RELEASETYPE" in
- release)
+ release|RC*)
echo "" >> xonotic-common.cfg
echo "// nicer menu" >> xonotic-common.cfg
echo "set menu_watermark \"\"" >> xonotic-common.cfg