diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2026-03-25 14:48:57 +0100 |
|---|---|---|
| committer | Romain GARBAGE <romain.garbage@inria.fr> | 2026-05-05 11:25:53 +0200 |
| commit | 4f29b99ce090ed2992d5bc6f3af42180201f5058 (patch) | |
| tree | 4f8a18d326d4075c935a3a17261b4aba885e2c4d /etc | |
| parent | f63f00030cc789bb4c90af704dea7ad41e2c38d7 (diff) | |
Document the release process.
* documentation/release.md: New file.
* etc/tag-release.sh: New file.
* .forgejo/workflows/publish-release.yml: New file.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/tag-release.sh | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/etc/tag-release.sh b/etc/tag-release.sh new file mode 100644 index 0000000..d9b4a21 --- /dev/null +++ b/etc/tag-release.sh | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | set -e | ||
| 4 | set -o pipefail | ||
| 5 | |||
| 6 | TAG="$1" | ||
| 7 | GUIX_SCIENCE_COMMIT="$2" | ||
| 8 | GUIX_REVISION="$3" | ||
| 9 | |||
| 10 | usage () { | ||
| 11 | echo "usage: $0 <release-tag> <guix-science-commit> <guix-revision>" | ||
| 12 | echo | ||
| 13 | echo "where <release-tag> is in the format vYYYYMMDD, <guix-science-commit>" | ||
| 14 | echo "is the Guix-Science commit to tag and <guix-revision> is the Guix" | ||
| 15 | echo "revision to associate with the release." | ||
| 16 | } | ||
| 17 | |||
| 18 | # TODO: check arguments. | ||
| 19 | if [ $# -ne 3 ] ; then | ||
| 20 | usage | ||
| 21 | exit 1 | ||
| 22 | fi | ||
| 23 | |||
| 24 | echo ";; Guix-Science release $TAG | ||
| 25 | ;; | ||
| 26 | ;; Guix revision: $GUIX_REVISION | ||
| 27 | (list (channel | ||
| 28 | (name 'guix-science) | ||
| 29 | (url \"https://codeberg.org/guix-science/guix-science.git\") | ||
| 30 | (branch \"master\") | ||
| 31 | (commit | ||
| 32 | \"$GUIX_SCIENCE_COMMIT\") | ||
| 33 | (introduction | ||
| 34 | (make-channel-introduction | ||
| 35 | \"b1fe5aaff3ab48e798a4cce02f0212bc91f423dc\" | ||
| 36 | (openpgp-fingerprint | ||
| 37 | \"CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446\")))) | ||
| 38 | (channel | ||
| 39 | (name 'guix) | ||
| 40 | (url \"https://git.guix.gnu.org/guix.git\") | ||
| 41 | (branch \"master\") | ||
| 42 | (commit | ||
| 43 | \"$GUIX_REVISION\") | ||
| 44 | (introduction | ||
| 45 | (make-channel-introduction | ||
| 46 | \"9edb3f66fd807b096b48283debdcddccfea34bad\" | ||
| 47 | (openpgp-fingerprint | ||
| 48 | \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"))))) | ||
| 49 | " | git tag --annotate --sign -F - $TAG $GUIX_SCIENCE_COMMIT | ||
