From cee48dd01e3b226cea346d2bfd3cb6d5a25da454 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 28 Feb 2025 21:01:32 +0400 Subject: [PATCH] config phpunit 9 --- composer.json | 2 ++ sbin/retag | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 sbin/retag diff --git a/composer.json b/composer.json index b597c03..b3d8792 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,8 @@ } }, "require": { + "phpunit/phpunit": "^9", + "php": "^7.3, 8.0.*" }, "autoload": { "psr-4": { diff --git a/sbin/retag b/sbin/retag new file mode 100755 index 0000000..3462d7e --- /dev/null +++ b/sbin/retag @@ -0,0 +1,19 @@ +#!/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