File: git.publish

package info (click to toggle)
xca 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,328 kB
  • sloc: cpp: 30,584; sh: 341; xml: 74; makefile: 56; python: 34
file content (25 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

test -s VERSION.txt && test -s changelog && test -s README.md
test -d .git

read TVERSION < VERSION.txt
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 main
  scp -r ${releasedir}/html hohnstaedt.de:xca-doc/
  Un-draft the release on github
EOF