mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-12-05 01:53:29 +01:00
ci: audit fixes
This commit is contained in:
1 parent
ade012ee14
commit
cc44230bac
20 files changed
+385
-148
No files matched your search
@@ -4,7 +4,9 @@
|
||||
# against this file, so release.yml runs it as soon as the builds are up, and
|
||||
# again once the Flatpak and the Snap are attached.
|
||||
#
|
||||
# bash .github/scripts/release-checksums.sh TAG
|
||||
# bash .github/scripts/release-checksums.sh TAG [COPY_TO]
|
||||
#
|
||||
# COPY_TO gets a copy of the file, for the attestation step.
|
||||
#
|
||||
# Needs GH_TOKEN and GITHUB_REPOSITORY.
|
||||
set -euo pipefail
|
||||
@@ -18,3 +20,6 @@ cd "$assets_dir"
|
||||
sha256sum Donut* > SHA256SUMS.txt
|
||||
cat SHA256SUMS.txt
|
||||
gh release upload "$tag" SHA256SUMS.txt --clobber --repo "$GITHUB_REPOSITORY"
|
||||
if [ -n "${2:-}" ]; then
|
||||
cp SHA256SUMS.txt "$2"
|
||||
fi
|
||||
Reference in new issue
Block a user