Skip to content

Commit ae99b85

Browse files
committed
Document the installation method for our optional telemetry
1 parent c05a248 commit ae99b85

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

make_release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ fi
6262

6363
# Add released tag for revision information:
6464
sed -i 's/PUBLISHED =.*/PUBLISHED = release/' paths.mk.in
65+
sed -i "s/INSTALL_METHOD\s*=.*/INSTALL_METHOD = tarball/" paths.mk.in
6566

6667
make QUIET=1 dist
6768

make_snapshot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ git clone -q --no-checkout --depth 1 "$GITURL" dj-clone
4545

4646
# Add released tag for revision information:
4747
sed -i "s/PUBLISHED =.*/PUBLISHED = $(date +%Y-%m-%d)/" "$DJDIR/paths.mk.in"
48+
sed -i "s/INSTALL_METHOD\s*=.*/INSTALL_METHOD = snapshot/" "$DJDIR/paths.mk.in"
4849

4950
quiet make -C $DJDIR dist
5051
tar -cf $DJDIR.tar $DJDIR

new_release_howto.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ 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. Change the default installation method in configure.ac to tarball.
78
1. Discuss if the current second to last minor version will now be EOL.
89
1. Update https://github.com/DOMjudge/domjudge/security/policy to support 2 minor versions, including the one now being released.
910
1. Change the constants `webapp/src/Controller/API/GeneralInfoController.php`
@@ -27,6 +28,7 @@ on the account `domjudge@vm-domjudge`):
2728
git checkout main
2829
```
2930
1. Update files above to `{version+1}DEV` and commit.
31+
1. Change the default installation method in configure.ac back to git.
3032
1. On the server the tarball will be built, signed and published.
3133
1. Update the DOMjudge homepage: commit changes in the `domjudge-scripts`
3234
repository under `website/` and run `make install` as domjudge@domjudge

0 commit comments

Comments
 (0)