add sha512sums to releases
This commit is contained in:
parent
657a604297
commit
213dc1e1f7
2 changed files with 11 additions and 0 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
@ -59,3 +59,13 @@ jobs:
|
|||
asset_path: build/prometheus-jitsi-meet-exporter-linux-amd64
|
||||
asset_name: prometheus-jitsi-meet-exporter-linux-amd64
|
||||
asset_content_type: application/octet-stream
|
||||
- name: Upload release artifacts (shasums)
|
||||
id: upload-release-asset-sha512sums
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: build/sha512sums.txt
|
||||
asset_name: sha512sums.txt
|
||||
asset_content_type: application/octet-stream
|
||||
|
|
1
Makefile
1
Makefile
|
@ -36,6 +36,7 @@ run: build
|
|||
release:
|
||||
${GOGET} -u github.com/mitchellh/gox
|
||||
${GOX} -ldflags "${LD_FLAGS}" ${GOX_ARGS}
|
||||
shasum -a 512 build/* > build/sha512sums.txt
|
||||
|
||||
docker:
|
||||
docker build --rm --force-rm --no-cache -t systemli/prometheus-jitsi-meet-exporter .
|
||||
|
|
Loading…
Reference in a new issue