Fix filename in travis script to contain proper commit hash

This commit is contained in:
Maschell 2018-06-24 20:48:10 +02:00
parent c76d9f7a5f
commit e61828ffd8
2 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,7 @@ before_deploy:
- cp $PORTLIBREPOS/controller_patcher_configs/*.ini ./wiiu/controller
- commit="$(git rev-parse --short=7 HEAD)"
- cp hidtovpad.mod wiiu/plugins/
- versiontag="$(./gitrev.sh)"
- zip -r hid_to_vpad_$versiontag.zip wiiu
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"

4
gitrev.sh Normal file
View File

@ -0,0 +1,4 @@
#! /bin/bash
#
rev_new=$(git rev-parse --short=7 HEAD)
echo HID_to-VPAD_WUPS-nightly-$rev_new