Hands-on task
This task is step 4 of the course “Shipping a release”
Annotated release tag
/root/billing is a clone of the billing repository from GitLab (the web sign-in is on the GitLab tab). The latest commit in main bumps the version to 2.4.0 — that's the one we're releasing.
- Put an annotated tag
v2.4.0with the messageRelease 2.4.0on this commit and push the tag to GitLab. An annotated tag is a separate object in git with an author, a date and a message, and releases need exactly that. The previous release is marked with a lightweight tagv2.3.7— just a name for a commit, with no message. - Create a release for this tag in GitLab: Deploy → Releases → Create a new release. In the tag field, pick the existing
v2.4.0; the title and description are up to you.
Reference:git
What you'll practise:
- git tag -a
- annotated tags
- releases
- GitLab Releases
- git push