Alberto Donato has proposed merging 
~ack/maas/+git/maas-release-tools:annotate-tag-command into 
~maas-committers/maas/+git/maas-release-tools:main.

Commit message:
fix git command to actually make an annotated tag



Requested reviews:
  Anton Troyanov (troyanov)

For more details, see:
https://code.launchpad.net/~ack/maas/+git/maas-release-tools/+merge/440412
-- 
Your team MAAS Committers is subscribed to branch 
~maas-committers/maas/+git/maas-release-tools:main.
diff --git a/maas_release_tools/scripts/release_status.py b/maas_release_tools/scripts/release_status.py
index 65584dd..67ecb57 100644
--- a/maas_release_tools/scripts/release_status.py
+++ b/maas_release_tools/scripts/release_status.py
@@ -1039,8 +1039,9 @@ class ReleaseTagged(ReleaseStep):
         return True, None
 
     def fix(self, doit=False):
+        version = self.preparer.version.version
         return False, [
-            f"git tag {self.preparer.version.version}",
+            f"git tag -m '{version} release' -a {version}",
             "git push --tags",
         ]
 
-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to