nulib-tests/sbin/retag
2025-02-28 21:01:32 +04:00

20 lines
353 B
Bash
Executable File

#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
source /etc/nulib.sh || exit 1
TAGS=(
7.3
7.4
8.0
)
args=(
"refaire les tags en cas de mise à jour de la branche"
)
parse_args "$@"; set -- "${args[@]}"
for tag in "${TAGS[@]}"; do
git tag -f "$tag"
git push -f origin tag "$tag" || die
done