Commit 4c668053 authored by Manuel Moos's avatar Manuel Moos
Browse files

Add stricter definitions for HACKS and WIP series

parent a37e02f6
Pipeline #234669384 passed with stages
in 35 minutes and 4 seconds
......@@ -81,12 +81,25 @@ case ${SERIES}+${SUFFIX}+@version@ in
ZI_SERIES="experimental"
STEAM_BRANCH="experimental"
;;
*)
HACK*)
SF_DIR="wip/${YEAR}"
LP_SERIES="hacks"
ZI_SERIES="wip"
STEAM_BRANCH="experimental"
ZI_SERIES="hacks"
STEAM_BRANCH=""
;;
WIP*)
SF_DIR="wip/${YEAR}"
LP_SERIES=""
ZI_SERIES=""
STEAM_BRANCH=""
;;
*)
SF_DIR="unknown/${YEAR}"
LP_SERIES=""
ZI_SERIES=""
STEAM_BRANCH=""
;;
esac
......
......@@ -38,6 +38,11 @@ if test "${CI_COMMIT_REF_PROTECTED}" = "true"; then
PROGRAM_NAME="armagetronad-beta"
PROGRAM_TITLE="Armagetron Beta"
;;
legacy_*_*)
SERIES="WIP"
PROGRAM_NAME="armagetronad-wip"
PROGRAM_TITLE="Armagetron WIP"
;;
legacy*)
PROGRAM_NAME="armagetronad-alpha"
PROGRAM_TITLE="Armagetron Alpha"
......@@ -47,6 +52,11 @@ if test "${CI_COMMIT_REF_PROTECTED}" = "true"; then
PROGRAM_NAME="armagetronad-experimental"
PROGRAM_TITLE="Armagetron Experimental"
;;
hack*)
SERIES="HACK"
PROGRAM_NAME="armagetronad-hack"
PROGRAM_TITLE="Armagetron Hack"
;;
*)
SERIES="WIP"
PROGRAM_NAME="armagetronad-wip"
......
......@@ -27,6 +27,22 @@ case $1 in
CI_COMMIT_REF_NAME=trunk
CI_COMMIT_BRANCH=trunk
;;
hack)
CI_COMMIT_REF_PROTECTED=true
CI_COMMIT_BEFORE_SHA=
CI_COMMIT_SHA=
CI_DEFAULT_BRANCH=hack
CI_COMMIT_REF_NAME=hack
CI_COMMIT_BRANCH=hack
;;
wip)
CI_COMMIT_REF_PROTECTED=true
CI_COMMIT_BEFORE_SHA=
CI_COMMIT_SHA=
CI_DEFAULT_BRANCH=wip
CI_COMMIT_REF_NAME=wip
CI_COMMIT_BRANCH=wip
;;
tag)
CI_COMMIT_REF_NAME=v0.2.7.3.4
CI_COMMIT_TAG=v0.2.7.3.4
......@@ -62,7 +78,7 @@ case $1 in
CI_MERGE_REQUEST_TARGET_BRANCH_NAME=trunk
;;
*)
echo "NO VALID CONFIGURATION SELECTED, available: raw (no CI), alpha, beta, rc, release, tag (unprotected), merge"
echo "NO VALID CONFIGURATION SELECTED, available: raw (no CI), hack, wip, alpha, beta, rc, release, tag (unprotected), merge"
exit 1
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment