Skip to content
Permalink
Browse files

ci: fixing deploy script for AppVeyor

  • Loading branch information
JaCzekanski committed Jul 29, 2019
1 parent 73dd7c0 commit 1b6fab7f9ae89f96aa2120fe38380b20e901a607
Showing with 2 additions and 2 deletions.
  1. +1 −1 .appveyor.yml
  2. +1 −1 .appveyor/deploy.ps1
@@ -50,7 +50,7 @@ after_build:
- ps: if ($env:platform -eq "x64") { $env:OS = "windows64" }
- ps: $env:DATE=date +%Y%m%d
- ps: $env:COMMIT=git rev-parse --short=7 HEAD
- ps: $env:ARTIFACT="avocado-$($env:OS)-$($env:DATE)-$($env:COMMIT)"
- ps: $env:ARTIFACT="avocado-$($env:OS)-$($env:DATE)-$($env:COMMIT).zip"

- mkdir artifact

@@ -28,7 +28,7 @@ $AUTHOR="$(git log -1 "$REVISION" --pretty="%aN")"
$MESSAGE="$(git log -1 "$REVISION" --pretty="%s")"
$DATE="$(git log -1 "$REVISION" --pretty="%aI")"

curl.exe -X POST `
curl.exe -g -X POST `
-H "Authorization: Bearer $API_KEY" `
-H "X-Commit-Revision: $REVISION" `
-H "X-Commit-Branch: $BRANCH" `

0 comments on commit 1b6fab7

Please sign in to comment.
You can’t perform that action at this time.