Skip to content

Commit 605edaa

Browse files
authored
Update new_release_howto
1 parent 1687436 commit 605edaa

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

new_release_howto.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,26 @@ on the account `domjudge@vm-domjudge`):
44

55
1. Test everything. (duh...)
66
1. Commit the correct version number in the `ChangeLog` and `README` files.
7+
1. export $TAG=x.y.z
78
1. Create a release version `$TAG` in Git with `$TAG` the version number
89
x.y.z:
10+
```sh
911
git tag -s -m "Tag release version $TAG." $TAG
12+
```
1013
See `git tag --help` for more details on how to tag with(out) a
1114
GPG signature.
12-
1. Create the release tarball by running
13-
make_release.sh $TAG
14-
Optionally add a git-repo-url as second parameter (defaults to
15-
`https://github.com/DOMjudge/domjudge.git`) to point it to your local
16-
repository, before committing to the central repository.
17-
18-
The tarball is placed in the current dir; check that it looks correct,
19-
test e.g. by unpacking it and running
20-
./configure && make build
2115
1. Don't forget to push everything to the central Git repository
2216
(especially the release tags, since these are not pushed by default),
2317
e.g. with
2418
`git push origin ${TAG%.?} refs/tags/$TAG`
25-
1. On the server the tarball will be rebuild and signed.
2619
1. If releasing from the main branch, create a new version branch:
2720
```{sh}
2821
git checkout -b x.y
2922
git push --set-upstream origin x.y
3023
git checkout main
3124
```
3225
1. Update files above to `{version+1}DEV` and commit.
33-
1. Copy domjudge-$TAG.tar.gz* to `/srv/http/domjudge/releases/`
26+
1. On the server the tarball will be built, signed and published.
3427
1. Update the DOMjudge homepage: commit changes in the `domjudge-scripts`
3528
repository under `website/` and run `make install` as domjudge@domjudge
3629
1. If this is a new major or minor version, update the release documentation
@@ -39,4 +32,6 @@ on the account `domjudge@vm-domjudge`):
3932
The documentation is regenerated once every hour.
4033
1. Bump the docker containers and build Debian packages (or make someone
4134
do this).
35+
1. Put debian packages in `/srv/http/domjudge/debian/mini-dinstall/incoming`
36+
and run as domjudge@domjudge: `mini-dinstall -b`
4237
1. Send an email to `[email protected]`.

0 commit comments

Comments
 (0)