mirror of
https://github.com/chris2511/xca.git
synced 2026-09-13 18:46:25 +05:00
./git.release: Create the release xca-*.tar.gz and setup_xca-*.exe collect the releases and the documentation ./git.publish Updates the binary-hashes Creates the "After release commit with updated version and binary hashes pushes the release as draft to github ./github.release.py Python script to automatically create the release on github and upload the assets
20 lines
308 B
Bash
Executable File
20 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
export dir="$1"
|
|
(
|
|
head -n -2
|
|
test -z "$dir" || cd $dir
|
|
sha256sum * | while read md file; do
|
|
echo ' "'$file'":"'$md'",'
|
|
done
|
|
cat <<-EOF
|
|
|
|
"last":""
|
|
}
|
|
EOF
|
|
) < misc/binary-hashes.json > misc/binary-hashes.json.tmp &&
|
|
|
|
mv misc/binary-hashes.json.tmp misc/binary-hashes.json
|