From 12bdc8a7ef93277f7094ddcd82cf994595c2c131 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 25 Sep 2026 15:39:07 +0000 Subject: [PATCH] =?UTF-8?q?release.sh=20:=20tag=20annot=C3=A9=20avec=20pat?= =?UTF-8?q?chnote=20(affich=C3=A9=20par=20le=20panneau=20MAJ)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 scripts/release.sh diff --git a/scripts/release.sh b/scripts/release.sh old mode 100755 new mode 100644 index 59a5475..215d3b8 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -2,11 +2,11 @@ # Publie une version d'OhmStreaming : # bump de version → commit + tag git → build de l'image Docker → push registre Gitea. # -# Usage : ./scripts/release.sh 0.2.0 +# Usage : ./scripts/release.sh 0.2.0 ["patchnote multi-lignes"] # Option : OHM_REGISTRY=git.lanro.eu/roman/ohm_streaming (défaut) pour viser un autre registre. set -euo pipefail -VERSION="${1:?Usage : ./scripts/release.sh (ex. 0.2.0)}" +VERSION="${1:?Usage : ./scripts/release.sh [patchnote] (ex : 0.2.0)}" REGISTRY="${OHM_REGISTRY:-git.lanro.eu/roman/ohm_streaming}" cd "$(dirname "$0")/.." @@ -30,7 +30,7 @@ git add pyproject.toml uv.lock git commit -m "v$VERSION" echo "▶ 2/3 Tag et push git" -git tag "$TAG" +git tag -a "$TAG" -m "${2:-$TAG}" git push origin HEAD git push origin "$TAG"