Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
convert-from errs
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Aug 9, 2019
1 parent 32bdb58 commit d99c8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ skip_branch_with_pr: true

init:
- ps: |
$releases = "https://api.github.com/repos/$env:APPVEYOR_REPO_NAME/releases"
$tag = (Invoke-WebRequest $releases | Convert-Json)[0].tag_name
If($Env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$Env:APPVEYOR_REPO_TAG_NAME"
}
else
{
$releases = "https://api.github.com/repos/$env:APPVEYOR_REPO_NAME/releases"
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name
Update-AppveyorBuild -Version "$tag.$Env:APPVEYOR_BUILD_VERSION-wip"
}
Expand Down

0 comments on commit d99c8c3

Please sign in to comment.