From d1421dbe8c978f1a9ab64127810c2ebe15973a9c Mon Sep 17 00:00:00 2001 From: Sabrina Demagny Date: Wed, 23 Oct 2024 19:39:52 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F(scripts)=20add=20some=20deta?= =?UTF-8?q?ils=20for=20manual=20steps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some instructions are missing to explain manual steps --- scripts/release.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/release.py b/scripts/release.py index b59681f..32e78ea 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -1,3 +1,5 @@ +# pylint: disable=line-too-long + import datetime import os import re @@ -95,10 +97,13 @@ def prepare_release(version, kind): run_command(f"git push origin {branch_to_release}", shell=True) sys.stdout.write(f""" PLEASE DO THE FOLLOWING INSTRUCTIONS: - --> Please submit PR and merge code to main than tag version + --> Please submit PR and merge code to main + --> Then do: + >> git checkout main + >> git pull >> git tag -a v{version} >> git push origin v{version} - --> Please check docker image: https://hub.docker.com/r/lasuite/people-backend/tags + --> Please check and wait for the docker image v{version} to be published here: https://hub.docker.com/r/lasuite/people-backend/tags >> git tag -d preprod >> git tag preprod >> git push -f origin preprod