1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

upload release assets

This commit is contained in:
Kyle Spearrin 2020-07-17 11:24:49 -04:00
parent 5037499c93
commit a5d8c92c98

View File

@ -144,6 +144,19 @@ jobs:
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
run: docker logout
- name: Upload release assets
if: github.event_name == 'release'
run: |
hub release edit `
-a ./swagger.json `
-a ./docker-stub.zip `
-m "Version $($env:RELEASE_TAG_NAME.TrimStart('v'))" `
$env:RELEASE_TAG_NAME
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
windows:
runs-on: windows-latest