Added Github Releases

Added github releases with correct whitespace (in all of the files, blame Unix).
Added comments on the deployment.
Added suggested changes from Rajkosto.
This commit is contained in:
Milan 2017-10-20 09:33:16 +02:00
parent fa2ff586bd
commit 348d136ef2
2 changed files with 17 additions and 2 deletions

View File

@ -51,3 +51,18 @@ artifacts:
- path: AppVeyor - path: AppVeyor
name: 'graphicPacks' name: 'graphicPacks'
type: zip type: zip
deploy:
# Release needs to be the same otherwise it won't overwrite.
release: "Cemu Graphic Packs - Latest Release"
description: "**Updated to $(appveyor_build_version)**"
provider: GitHub
# Auth token is generated by using https://www.appveyor.com/docs/deployment/github/#provider-settings
auth_token:
secure: 4JvDhDJbAqoItEgXYLZ1QAX3aW5MF7d/klgYFiyCtgGJys2+C0Etd7CZwJzZ8tch
prerelease: false
# Makes it so that it overwrites the previous files.
force_update: true
artifact: /.*\.zip/
on:
branch: master

View File

@ -33,7 +33,7 @@ build_dir () {
do do
filename=`basename $f` filename=`basename $f`
outName="$dstDir/$filename" outName="$dstDir/$filename"
#echo "Building $f to $outName with params ${rest[@]}" echo -e "\t${GREEN}[PHP] ${NC}Exec $f to $outName with params ${rest[@]}"
php "$f" "${rest[@]}" > "$outName" php "$f" "${rest[@]}" > "$outName"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
@ -63,7 +63,7 @@ std_respack () {
params=( "$@" ) params=( "$@" )
rest=( "${params[@]:1}" ) rest=( "${params[@]:1}" )
echo -e "${GREEN}[Building] ${BCYAN}$gameName ${NC}to ${params[@]:1}" echo -e "${GREEN}[Building] ${BCYAN}$gameName ${NC}for ${rest[@]}"
for arrg in "${rest[@]}" for arrg in "${rest[@]}"
do do
resvarname="res_${arrg}[@]" resvarname="res_${arrg}[@]"