mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 01:59:18 +01:00
Fix failing builds
Description is now fully enclosed, so there's nothing escaping it. Previously (discovered by NAVras), the brackets (and possibly other stuff) wouldn't be escaped and would result it a failed build.
This commit is contained in:
parent
135226e205
commit
f1b1da3ca3
@ -4,7 +4,6 @@ skip_tags: true
|
|||||||
environment:
|
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.
|
# 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.
|
||||||
CommitTimestamp: 0
|
CommitTimestamp: 0
|
||||||
CommitDescription: 'No description was added to this commit.'
|
|
||||||
CYG_MIRROR: http://cygwin.mirror.constant.com
|
CYG_MIRROR: http://cygwin.mirror.constant.com
|
||||||
CYG_PACKAGES: bash,php,dos2unix
|
CYG_PACKAGES: bash,php,dos2unix
|
||||||
matrix:
|
matrix:
|
||||||
@ -35,7 +34,7 @@ init:
|
|||||||
|
|
||||||
# Install needed build dependencies
|
# Install needed build dependencies
|
||||||
install:
|
install:
|
||||||
- if defined appveyor_repo_commit_message_extended (set CommitDescription=%appveyor_repo_commit_message_extended%) # If there's is a description set it to that, otherwise leave it.
|
- if defined appveyor_repo_commit_message_extended (echo "Found commit description!") else (set appveyor_repo_commit_message_extended='No description was added to this commit.') # If there's is a description set it to that, otherwise leave it.
|
||||||
- ps: $env:CommitTimestamp=[System.DateTime]::UtcNow # Readable timestamp
|
- ps: $env:CommitTimestamp=[System.DateTime]::UtcNow # Readable timestamp
|
||||||
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "http://cygwin.com/$env:CYG_SETUP" -FileName "cygsetup.exe" -Timeout 30000 }
|
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "http://cygwin.com/$env:CYG_SETUP" -FileName "cygsetup.exe" -Timeout 30000 }
|
||||||
- ps: if ((Get-Content "cygsetup.exe") -eq $Null) { Copy-Item "$env:CYG_SETUP" -Destination "cygsetup.exe" -Force } else { Copy-Item "cygsetup.exe" -Destination "$env:CYG_SETUP" -Force }
|
- ps: if ((Get-Content "cygsetup.exe") -eq $Null) { Copy-Item "$env:CYG_SETUP" -Destination "cygsetup.exe" -Force } else { Copy-Item "cygsetup.exe" -Destination "$env:CYG_SETUP" -Force }
|
||||||
@ -62,7 +61,7 @@ deploy:
|
|||||||
tag: "appveyor$(appveyor_build_version)"
|
tag: "appveyor$(appveyor_build_version)"
|
||||||
# Tag needs to be the same otherwise it won't overwrite.
|
# Tag needs to be the same otherwise it won't overwrite.
|
||||||
release: "Graphic Packs: version 2-$(appveyor_build_version)"
|
release: "Graphic Packs: version 2-$(appveyor_build_version)"
|
||||||
description: "Updated to **v2-$(appveyor_build_version)** at $(CommitTimestamp) (UTC)\n\n### Changelog:\n**$(appveyor_repo_commit_message)** - Commit $(appveyor_repo_commit) by $(appveyor_repo_commit_author):\n```\n$(CommitDescription)\n```\n#### [Installation instructions](https://$(appveyor_account_name).github.io/$(appveyor_project_name)/) - [Previous versions](https://ci.appveyor.com/project/$(appveyor_account_name)/cemu-graphic-packs/history)"
|
description: "Updated to **v2-$(appveyor_build_version)** at $(CommitTimestamp) (UTC)\n\n### Changelog:\n**$(appveyor_repo_commit_message)** - Commit $(appveyor_repo_commit) by $(appveyor_repo_commit_author):\n```\n$(appveyor_repo_commit_message_extended)\n```\n#### [Installation instructions](https://$(appveyor_account_name).github.io/$(appveyor_project_name)/) - [Previous versions](https://ci.appveyor.com/project/$(appveyor_account_name)/cemu-graphic-packs/history)"
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
# Auth token is generated by using https://www.appveyor.com/docs/deployment/github/#provider-settings
|
# Auth token is generated by using https://www.appveyor.com/docs/deployment/github/#provider-settings
|
||||||
auth_token: $(GithubAuthToken)
|
auth_token: $(GithubAuthToken)
|
||||||
|
Loading…
Reference in New Issue
Block a user