mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
[General] Moved gitrev.sh
This commit is contained in:
parent
e4451560d8
commit
240482eec6
@ -40,8 +40,8 @@ script:
|
|||||||
before_deploy:
|
before_deploy:
|
||||||
- mkdir -p "wiiu/apps/wiiupluginloader"
|
- mkdir -p "wiiu/apps/wiiupluginloader"
|
||||||
- commit="$(git rev-parse --short=7 HEAD)"
|
- commit="$(git rev-parse --short=7 HEAD)"
|
||||||
- (cd loader && chmod +x gitrev.sh)
|
- chmod +x gitrev.sh
|
||||||
- (cd loader && versiontag="$(./gitrev.sh)")
|
- versiontag="$(./gitrev.sh)"
|
||||||
- (cd loader && make)
|
- (cd loader && make)
|
||||||
- cp loader/meta/* wiiu/apps/wiiupluginloader
|
- cp loader/meta/* wiiu/apps/wiiupluginloader
|
||||||
- cp loader/wiiupluginloader.elf wiiu/apps/wiiupluginloader
|
- cp loader/wiiupluginloader.elf wiiu/apps/wiiupluginloader
|
||||||
@ -60,7 +60,7 @@ deploy:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
api_key:
|
api_key:
|
||||||
secure: "BdoeihqS+jQGq98cPyF22iCKx68stGSWa3t5ZotLcp8z9EYBODjGLOITbDxm1WsuVbC17dq4ESLogVhLSs1I3Kjfb+oESRTAh6X5tsRpxVWkvpiqk9pkMOQPLq1t1QDAKagm6BtEJ2lkMWD9a0G+Z8d7Fc6BE3TqqTf+DxVsX04ArxA9znLgOtJZxgIbSFhCPGU2PXueiWLcOzLL6u2Bp6FmPcGYOkM3K8BD45+9CjYqv+/SIv7ckJW8KI1CaNOIyrvLGv8VyQ18dAB9DRScB6kIAyInAStwQbvGbU6E+fKSJcdoqGuZIxMgBObo4KIN98pVckMsacXXuEk7BYc9lsdQkB9WhJWfJbmDoXF7Ur4pno/3rGSVD8RC96sCO7mrjKnlbACu4ybvVJvxSq6F4DRG6vpamh03AiiMHaQZG4kOC1CuOA26UG+k0kE9ErlkKa1IcfF/l0G+6UN2Ahx8UNXSu3WJR7IVj6jwVDWKnJnPwKcYjHq7Gn3UnIt+h/j1qN2KuYPZujnuaB/RCHNt0VmHylpmOeQPU4aWHq/KZHj3eSpecSXV9G7Xb9BjbK+cNft+vnmJBqQTyKJG1cWwty38bjJnAwsS249KdBWBowzZmeZoLPvdZaPrLBEfb2+p/ty2aMqKFj66ev/aQBSMkiOnIaVjFzl7UtCutm0FEAo="
|
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:
|
on:
|
||||||
repo: Maschell/WiiUPluginSystem
|
repo: Maschell/WiiUPluginSystem
|
||||||
tags: false
|
tags: false
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
#
|
#
|
||||||
rev_new=$(git rev-parse --short=7 HEAD)
|
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`
|
rev_date=`date -u +%Y%m%d%H%M%S`
|
||||||
|
|
||||||
cat <<EOF > ./meta/meta.xml
|
cat <<EOF > ./loader/meta/meta.xml
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<app version="1">
|
<app version="1">
|
||||||
<name>Wii U Plugin Loader</name>
|
<name>Wii U Plugin Loader</name>
|
||||||
@ -21,7 +21,7 @@ rev_date=`date -u +%Y%m%d%H%M%S`
|
|||||||
</app>
|
</app>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF > ./src/version.h
|
cat <<EOF > ./loader/src/version.h
|
||||||
#define APP_VERSION "$version-nightly-$rev_new"
|
#define APP_VERSION "$version-nightly-$rev_new"
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user