mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
upload release assets
This commit is contained in:
parent
5037499c93
commit
a5d8c92c98
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -144,6 +144,19 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
||||||
run: docker logout
|
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:
|
windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user