]> Git — Sourcephile - julm/rezine-rfcs.git/blob - scripts/tag.sh
scripts: init
[julm/rezine-rfcs.git] / scripts / tag.sh
1 #!/usr/bin/env bash
2 # Usage: scripts/tag.sh rfcs/p1
3 # SPDX-FileCopyrightText: 2024 Julien Moutinho (adh14) <julm+rezine@autogeree.net>
4 # SPDX-License-Identifier: AGPL-3.0-or-later
5 # shellcheck disable=SC2086
6 # shellcheck disable=SC2097
7 # shellcheck disable=SC2098
8 # shellcheck disable=SC2317
9 set -eux
10 . "${0%/*}"/lib.sh
11 export rfcDir=$1; shift
12 test $# -le 0 || declare "$@"
13
14 rfcDirMetadata
15 rfcRevision
16 rfcTag