Removed build number in released filename and added computation of resource URL based on release name.

This commit is contained in:
xawotihs
2014-01-17 21:50:10 +01:00
parent 1d33de59a9
commit f97d9805dd
4 changed files with 26 additions and 12 deletions

View File

@@ -5,6 +5,16 @@ echo PSPDEV = $PSPDEV
echo psp-config = `psp-config --psp-prefix`
echo ls = `ls`
echo pwd = `pwd`
# computing potential release name
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
if [ "$TRAVIS_BRANCH" == "alphas" ]; then
RELEASE_NAME = "alpha-${TRAVIS_BUILD_NUMBER}"
else if [ "$TRAVIS_BRANCH" == "master" ]; then
RELEASE_NAME = "latest-master"
fi
fi
fi
# updating versions with the TRAVIS build numbers
cd projects/mtg/