Skip to content

Commit

Permalink
ci: fixing deploy script for AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed Jul 29, 2019
1 parent 73dd7c0 commit 1b6fab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .appveyor/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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" `
Expand Down

0 comments on commit 1b6fab7

Please sign in to comment.