mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
Merge pull request #121 from Crementif/master
Added Github Releases to host the artifacts
This commit is contained in:
commit
5caf83b84f
15
appveyor.yml
15
appveyor.yml
@ -1,6 +1,7 @@
|
||||
# Appveyor configuration file for bash build of packs
|
||||
version: v2-{build}
|
||||
environment:
|
||||
# It's prefered to have the GithubAuthToken (encrypted) set in the UI. Follow this guide for the instructions https://www.appveyor.com/docs/deployment/github/#provider-settings.
|
||||
CYG_MIRROR: http://cygwin.mirror.constant.com
|
||||
CYG_PACKAGES: bash,php,dos2unix
|
||||
matrix:
|
||||
@ -51,3 +52,17 @@ artifacts:
|
||||
- path: AppVeyor
|
||||
name: 'graphicPacks'
|
||||
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)**\n\n### Changelog:\n**$(appveyor_repo_commit_message)** - Commit $(appveyor_repo_commit):\n```\n$(appveyor_repo_commit_message_extended)\n```\n#### [Installation instructions](https://$(appveyor_account_name).github.io/$(appveyor_project_name)/)"
|
||||
provider: GitHub
|
||||
# Auth token is generated by using https://www.appveyor.com/docs/deployment/github/#provider-settings
|
||||
auth_token: $(GithubAuthToken)
|
||||
prerelease: false
|
||||
# Makes it so that it overwrites the previous files.
|
||||
force_update: true
|
||||
artifact: /.*\.zip/
|
||||
on:
|
||||
branch: master
|
||||
|
4
build.sh
4
build.sh
@ -33,7 +33,7 @@ build_dir () {
|
||||
do
|
||||
filename=`basename $f`
|
||||
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"
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
@ -63,7 +63,7 @@ std_respack () {
|
||||
params=( "$@" )
|
||||
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[@]}"
|
||||
do
|
||||
resvarname="res_${arrg}[@]"
|
||||
|
Loading…
Reference in New Issue
Block a user