Attemp to fix GitHub release creation on AppVeyor once again

This commit is contained in:
timvisee 2019-03-25 20:21:31 +01:00
parent 8d7bbce4d0
commit cc5ad4c9b6
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
2 changed files with 3 additions and 5 deletions

View file

@ -208,9 +208,8 @@ ffsend --help
```
#### Linux: Fedora package
_Note: The Fedora package is maintained by contributors, therefore it might be
outdated. Choose a different installation method if an important update is
missing._
_Note: The Fedora package is maintained by contributors, it might be outdated.
Choose a different installation method if an important update is missing._
```bash
yum install ffsend

View file

@ -73,8 +73,7 @@ build_script:
- cd ..\..\..\
# Create the release, upload the binaries
# TODO: fix the release task
# - ps: 'try { .\github-release.exe release --token $env:GITHUB_TOKEN --owner timvisee --repo ffsend --tag $env:APPVEYOR_REPO_TAG_NAME --title "ffsend $env:APPVEYOR_REPO_TAG_NAME" 2> $null } catch { "Creating GitHub release failed, might already exist. Ignoring" }'
- ps: '$ErrorActionPreference = "SilentlyContinue"; .\github-release.exe release --token $env:GITHUB_TOKEN --owner timvisee --repo ffsend --tag $env:APPVEYOR_REPO_TAG_NAME --title "ffsend $env:APPVEYOR_REPO_TAG_NAME"; exit 0'
- ps: .\github-release.exe upload --token $env:GITHUB_TOKEN --owner timvisee --repo ffsend --tag $env:APPVEYOR_REPO_TAG_NAME --file .\ffsend-$env:TARGET.exe --name ffsend-$env:APPVEYOR_REPO_TAG_NAME-windows-x64.exe
- ps: .\github-release.exe upload --token $env:GITHUB_TOKEN --owner timvisee --repo ffsend --tag $env:APPVEYOR_REPO_TAG_NAME --file .\ffsend-$env:TARGET-static.exe --name ffsend-$env:APPVEYOR_REPO_TAG_NAME-windows-x64-static.exe
- ps: .\github-release.exe upload --token $env:GITHUB_TOKEN --owner timvisee --repo ffsend --tag $env:APPVEYOR_REPO_TAG_NAME --file (Get-Item .\ffsend.*.nupkg).FullName --name ffsend-$env:APPVEYOR_REPO_TAG_NAME.nupkg