Skip to content

Commit 944421c

Browse files
committed
Update release instructions
1 parent a6c126e commit 944421c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

make_release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ cd "$OWD"
5858
mv $TEMPDIR/domjudge-$VERSION.tar.gz .
5959
rm -rf "$TEMPDIR"
6060

61+
sha256sum domjudge-$VERSION.tar.gz > domjudge-$VERSION.tar.gz.sha256sum
62+
gpg -a --detach-sign --digest-algo SHA256 domjudge-$VERSION.tar.gz
63+
6164
echo "Release file: 'domjudge-$VERSION.tar.gz'"
6265
echo "ChangeLog version: '$CHLOG'"
6366

new_release_howto.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,18 @@ on the account `domjudge@vm-domjudge`):
2020
The tarball is placed in the current dir; check that it looks correct,
2121
test e.g. by unpacking it and running
2222
./configure && make build
23+
1. If releasing from the master branch, create a new version branch:
24+
git checkout -b x.y
25+
git push --set-upstream origin x.y
26+
git checkout master
2327
1. Update files above to `{version+1}DEV`, `DEBUG=1`, and commit.
24-
1. Generate sha256sum and GPG signature:
25-
sha256sum domjudge-$TAG.tar.gz > domjudge-$TAG.tar.gz.sha256sum
26-
gpg -a --detach-sign --digest-algo SHA256 domjudge-$TAG.tar.gz
27-
Copy these files to `/srv/http/domjudge/releases/`
28+
1. Copy domjudge-$TAG.tar.gz* to `/srv/http/domjudge/releases/`
2829
1. Update the DOMjudge homepage: commit changes in the `domjudge-scripts`
2930
repository under `website/` and run `make install` as domjudge@domjudge
3031
1. If this is a new major or minor version, update the release documentation
3132
under `/srv/http/domjudge/docs/manual` by adding a new version to the
3233
file `versions.json` and updating the redirect destination in `index.html`.
3334
The documentation is regenerated once every hour.
34-
1. If necessary, add a source package of included dash static shell in
35-
`/srv/http/domjudge/sources/`.
3635
1. Bump the docker containers and build Debian packages (or make someone
3736
do this).
3837
1. Send an email to [email protected].

0 commit comments

Comments
 (0)