xca/release/git.publish
Christian Hohnstaedt 957bdbaa72 Put release related files into an own sub-directory
git.release.something ->
   Create any git release with a tag to test package (debian/rpm) build

git.release -> Create required changes and tags for the next release
git.publish -> Finalize the release (github release)
gen-binary-hash / binary-hashes.json -> keep track of release hashes
2021-05-09 12:22:53 +02:00

26 lines
530 B
Bash
Executable File

#!/bin/sh
set -e
test -s VERSION && test -s changelog && test -s README.md
test -d .git
read TVERSION < VERSION
export TVERSION
releasedir="$HOME/xca-$TVERSION"
./release/gen-binary-hash "$releasedir"
git commit -a -m "Release XCA $TVERSION done"
./release/github.release.py "$TVERSION" "${releasedir}/"*xca*"$TVERSION"*
cat << EOF
After verifying the commits, tags and github release,
finally do:
git push origin --tags master
scp -r ${releasedir}/doc/html hohnstaedt.de:xca-doc/
Un-draft the release on github
EOF