From d57e9202bf93fa07f30020cf09044df364930629 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 28 Feb 2025 21:05:42 +0400 Subject: [PATCH] config phpunit 10 --- composer.json | 2 ++ sbin/retag | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 sbin/retag diff --git a/composer.json b/composer.json index b597c03..6243693 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,8 @@ } }, "require": { + "phpunit/phpunit": "^10", + "php": "^8.1" }, "autoload": { "psr-4": { diff --git a/sbin/retag b/sbin/retag new file mode 100755 index 0000000..61a3e5b --- /dev/null +++ b/sbin/retag @@ -0,0 +1,18 @@ +#!/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=( + 8.1 + 8.2 +) + +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" || die +done