mirror of
https://github.com/chris2511/xca.git
synced 2026-09-13 18:46:25 +05:00
The plus sign was not compatible with the WIX toolset. The 4th digist is the number of commits since the last release. For a tagged release it is not 00, but empty.
26 lines
513 B
Bash
Executable File
26 lines
513 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"
|
|
|
|
./misc/gen-binary-hash "$releasedir"
|
|
git commit -a -m "Release XCA $TVERSION done"
|
|
|
|
./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 ${releasedir}/doc/* hohnstaedt.de:xca-doc/
|
|
Un-draft the release on github
|
|
EOF
|