Releases Branches (Standar)

You are here:
Estimated reading time: < 1 min

Find & Replace with yours:

  • {changesDescription}→ Changes notes.
  • Description → Release notes.
  • M.m → Version.

1. Create Branch

git pull origin develop;git checkout develop;git checkout -b release-M.m develop;

2. Update “M.m” to /README.md.

git commit add readme.md;
git commit -m "Bumped version number to M.m";

3. Add & Commit Files Changes

git commit add {path/to/file.ext};
git commit add {path/to/file2.ext};
git commit -m "{changesDescription}"

Where:
{path/to/file.ext} and {path/to/file2.ext} are the files to add.
{changesDescription} are the changes description.

4. Finish Branch

git commit -a -m "Description";git checkout master;
git merge --no-ff release-M.m -m "rel M.m";
git tag -a M.m -m "Description";
git checkout develop;git merge --no-ff release-M.m -m "rel M.m";
git branch -d release-M.m;
git push origin develop;git push origin master;git push origin M.m;
Was this article helpful?
Dislike 0
Views: 132