diff --git a/appveyor.yml b/appveyor.yml index a763ed6a..b9f49e18 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,10 +40,10 @@ build_script: - npm publish - cd .. - cmd: nuget pack BancosBrasileiros.nuspec -Version %APPVEYOR_BUILD_VERSION% -- releaseNotesUrl=$(curl -L https://api.github.com/repos/guibranco/bancosbrasileiros/actions/artifacts?name=releaseNotesFile | jq -r '.artifacts[0].archive_download_url') -- curl -L $releaseNotesUrl --header 'Authorization: Bearer %GITHUB_TOKEN%' > releaseNotes.zip +- cmd: $releaseNotesUrl=$(curl -L https://api.github.com/repos/guibranco/bancosbrasileiros/actions/artifacts?name=releaseNotesFile | jq -r '.artifacts[0].archive_download_url') +- cmd: curl -L $releaseNotesUrl --header 'Authorization: Bearer %GITHUB_TOKEN%' > releaseNotes.zip - 7z x releaseNotes.zip -o . -- release_notes=$(release-notes.md) +- cmd: $release_notes=$(cat release-notes.md) artifacts: - path: '**\*nupkg'