Skip to content

Commit

Permalink
Use TRAVIS_BRANCH environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Sep 16, 2021
1 parent 30dfd6e commit 46aecd7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ matrix:
after_success:
- PROJECT_VERSION=$(git rev-parse --short HEAD)
- BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
- echo $PROJECT_VERSION $BRANCH_NAME $TRAVIS_BRANCH
- cd DALIUGE/xml
- xsltproc combine.xslt index.xml >daliuge.xml
- python3 ../../tools/xml2palette/xml2palette.py -i daliuge.xml -o daliuge-$BRANCH_NAME.palette
- mv daliuge-$BRANCH_NAME.palette ../.
- python3 ../../tools/xml2palette/xml2palette.py -i daliuge.xml -o daliuge-$TRAVIS_BRANCH.palette
- mv daliuge-$TRAVIS_BRANCH.palette ../.
- cd ..
- rm -rf xml/
- cd ..
Expand Down

0 comments on commit 46aecd7

Please sign in to comment.