From 240482eec6c97b38312e9de60ad833e221d5a902 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 4 Feb 2018 11:17:01 +0100 Subject: [PATCH] [General] Moved gitrev.sh --- .travis.yml | 6 +++--- loader/gitrev.sh => gitrev.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename loader/gitrev.sh => gitrev.sh (80%) diff --git a/.travis.yml b/.travis.yml index dd85d92..3e2bb65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,8 +40,8 @@ script: before_deploy: - mkdir -p "wiiu/apps/wiiupluginloader" - commit="$(git rev-parse --short=7 HEAD)" -- (cd loader && chmod +x gitrev.sh) -- (cd loader && versiontag="$(./gitrev.sh)") +- chmod +x gitrev.sh +- versiontag="$(./gitrev.sh)" - (cd loader && make) - cp loader/meta/* wiiu/apps/wiiupluginloader - cp loader/wiiupluginloader.elf wiiu/apps/wiiupluginloader @@ -60,7 +60,7 @@ deploy: prerelease: true api_key: secure: "BdoeihqS+jQGq98cPyF22iCKx68stGSWa3t5ZotLcp8z9EYBODjGLOITbDxm1WsuVbC17dq4ESLogVhLSs1I3Kjfb+oESRTAh6X5tsRpxVWkvpiqk9pkMOQPLq1t1QDAKagm6BtEJ2lkMWD9a0G+Z8d7Fc6BE3TqqTf+DxVsX04ArxA9znLgOtJZxgIbSFhCPGU2PXueiWLcOzLL6u2Bp6FmPcGYOkM3K8BD45+9CjYqv+/SIv7ckJW8KI1CaNOIyrvLGv8VyQ18dAB9DRScB6kIAyInAStwQbvGbU6E+fKSJcdoqGuZIxMgBObo4KIN98pVckMsacXXuEk7BYc9lsdQkB9WhJWfJbmDoXF7Ur4pno/3rGSVD8RC96sCO7mrjKnlbACu4ybvVJvxSq6F4DRG6vpamh03AiiMHaQZG4kOC1CuOA26UG+k0kE9ErlkKa1IcfF/l0G+6UN2Ahx8UNXSu3WJR7IVj6jwVDWKnJnPwKcYjHq7Gn3UnIt+h/j1qN2KuYPZujnuaB/RCHNt0VmHylpmOeQPU4aWHq/KZHj3eSpecSXV9G7Xb9BjbK+cNft+vnmJBqQTyKJG1cWwty38bjJnAwsS249KdBWBowzZmeZoLPvdZaPrLBEfb2+p/ty2aMqKFj66ev/aQBSMkiOnIaVjFzl7UtCutm0FEAo=" - file: WiiUPluginLoader$versiontag.zip + file: WiiUPluginLoader_$versiontag.zip on: repo: Maschell/WiiUPluginSystem tags: false diff --git a/loader/gitrev.sh b/gitrev.sh similarity index 80% rename from loader/gitrev.sh rename to gitrev.sh index 763b468..e151d88 100644 --- a/loader/gitrev.sh +++ b/gitrev.sh @@ -1,12 +1,12 @@ #! /bin/bash # rev_new=$(git rev-parse --short=7 HEAD) -version=$(cat ./src/version.h 2>/dev/null | cut -d '"' -f2) +version=$(cat ./loader/src/version.h 2>/dev/null | cut -d '"' -f2) rev_date=`date -u +%Y%m%d%H%M%S` - cat < ./meta/meta.xml + cat < ./loader/meta/meta.xml Wii U Plugin Loader @@ -21,7 +21,7 @@ rev_date=`date -u +%Y%m%d%H%M%S` EOF - cat < ./src/version.h + cat < ./loader/src/version.h #define APP_VERSION "$version-nightly-$rev_new" EOF