Fix AppVeyor trigger in GitLab CI

This commit is contained in:
timvisee 2019-03-04 20:40:52 +01:00
parent ac1e1f8081
commit 0b1d67e686
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -253,7 +253,7 @@ trigger-appveyor-release:
script:
- apt-get install -y --no-install-recommends curl
- export VERSION=$(echo $CI_COMMIT_REF_NAME | cut -c 2-)
- curl -L -H 'Content-Type: application/json' -H "Authorization: Bearer $APPVEYOR_TOKEN" -d "{\"accountName\":\"timvisee\",\"projectSlug\":\"ffsend\",\"tag\":\"$CI_COMMIT_REF_NAME\",\"environmentVariables\":{\"FFSEND_VERSION\":\"$VERSION\"}}" https://ci.appveyor.com/api/builds
- 'curl -L -H "Content-Type: application/json" -H "Authorization: Bearer $APPVEYOR_TOKEN" -d "{\"accountName\":\"timvisee\",\"projectSlug\":\"ffsend\",\"tag\":\"$CI_COMMIT_REF_NAME\",\"environmentVariables\":{\"FFSEND_VERSION\":\"$VERSION\"}}" https://ci.appveyor.com/api/builds'
# # Snap release
# snap: