Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:amend_docs_re_tagging into autopkgtest-cloud:master.
Requested reviews: Canonical's Ubuntu QA (canonical-ubuntu-qa) For more details, see: https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/450871 -- Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:amend_docs_re_tagging into autopkgtest-cloud:master.
diff --git a/docs/deploying.rst b/docs/deploying.rst index 95db4f2..ef70b71 100644 --- a/docs/deploying.rst +++ b/docs/deploying.rst @@ -159,11 +159,27 @@ then run an *upgrade*. For example, for ``autopkgtest-web``: Then run ``mojo run`` on the system where you want to deploy the update - this will pull the updated charm from the charm store. -Please then *tag* the update you are pushing, so that others can see which git -commit corresponds to a charm revision. Use the format <charm>-<revision>. You -should push a tag even if you are working on a scratch branch (for staging). It -makes it possible for others to see what is being worked on, and make fixes to -it if necessary. +Tagging the charm revisions +--------------- + +When releasing the charm to stable, please then *tag* the update you are pushing, +so that others can see which git commit corresponds to a charm revision. +Use the format <charm>-<revision>. You should push a tag even if you are working +on a scratch branch (for staging). It makes it possible for others to see what +is being worked on, and make fixes to it if necessary. + +You can add a tag like so: +.. code-block:: + git tag -a autopkgtest-$charm-$revision + git push --tags + +Where $charm is either equal to "web" or "cloud-worker". + +If you accidentally push a charm or need to change a charm tag, you can delete +like so: +.. code-block:: + git push --delete origin $tag + Checking for cowboys ^^^^^^^^^^^^^^^^^^^^
-- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp