mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
Travis CI: improve package name generation script
This commit is contained in:
parent
d0bd4efbc7
commit
c7fbbb1248
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
VCMI_PACKAGE_FILE_NAME="${TMP_JOBID}-vcmi"
|
VCMI_PACKAGE_FILE_NAME="${TMP_JOBID}-vcmi"
|
||||||
VCMI_PACKAGE_NAME_SUFFIX=""
|
VCMI_PACKAGE_NAME_SUFFIX=""
|
||||||
if [ -z "$TMP_PRID" ];
|
if [ -z "$TMP_PRID" ] || [ "$TMP_PRID" == "false" ];
|
||||||
then
|
then
|
||||||
branch_name=$(echo "$TMP_BRANCH" | sed 's/[^[:alnum:]]\+/_/g')
|
branch_name=$(echo "$TMP_BRANCH" | sed 's/[^[:alnum:]]\+/_/g')
|
||||||
VCMI_PACKAGE_FILE_NAME="${VCMI_PACKAGE_FILE_NAME}-branch-${branch_name}-${TMP_COMMIT}"
|
VCMI_PACKAGE_FILE_NAME="${VCMI_PACKAGE_FILE_NAME}-branch-${branch_name}-${TMP_COMMIT}"
|
||||||
|
Loading…
Reference in New Issue
Block a user