From 0d0203dd67e70fc91a5d992871fdbb5e375e6c0c Mon Sep 17 00:00:00 2001 From: Crementif Date: Mon, 21 May 2018 01:48:19 +0200 Subject: [PATCH] Change draft to prerelease and fix edit status --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f1ca2b0..30ec02aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,6 @@ after_success: --repo=cemu_graphic_packs \ --tag="Travis$TRAVIS_BUILD_NUMBER" \ --name="Graphic Packs: version $TRAVIS_BUILD_NUMBER" \ - --body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```')" \ - $([ "$buildType" = "Common" ] && echo "--draft" || echo "") \ + --body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```%n') $(if [ '$buildType' = 'Common' ]; then echo 'This is a prerelease with only the common resolutions.'; fi)" \ + $([ "$buildType" = "Common" ] && echo "--prerelease=true" || echo "--prerelease=false") \ "graphicPacks$buildType""_$TRAVIS_BUILD_NUMBER"".zip"