Docker Distribution Pruner is released when it is ready. There is no strict timeline of next releases. We tend to release this project when the major features or bugs are fixed.
To pin a new version of the application follow these steps:
- Create a new
X-Y-stablebranch frommaster, - Update a
CHANGELOG.mdwith a list of changes, - Create a new Merge Request pointing to
master, - Merge a merge request that updates
VERSIONandCHANGELOG.md, - Push a branch
X-Y-stableto GitLab (whereXismajor,Yis minor), - Push a new annotated tag
vX.Y.0(whereZis patch release), - Merge
X-Y-stablebranch intomaster, - Update
VERSIONto point to next version and push tomaster,
If put in terminal steps:
# Create stable branch
git checkout -b 0-1-stable master
editor CHANGELOG
git add CHANGELOG VERSION
git commit -m "Update CHANGELOG for 0.1.0"
git tag -a v0.1.0 -m "Version 0.1.0"
git push origin 0-1-stable v0.1.0
# Update development
git checkout master
git merge --no-ff 0-1-stable
editor VERSION # point to next version, like `0.2.0`
git commit -m "Update VERSION to 0.2.0"
git push origin masterTo create a new patch release of the application follow these steps:
- Start from
X-Y-stablebranch, - Pick all changes that goes into patch release, by picking a
merge commitof the change, - Update
VERSIONandCHANGELOG.mdto point to next patch release and list all changes, - Push a branch
X-Y-stableto GitLab (whereXismajor,Yis minor), - Push a new annotated tag
vX.Y.0(whereZis patch release), - DO NOT UPDATE
masterwith the patch release.
If put in terminal steps:
# Create stable branch
git checkout 0-1-stable
editor CHANGELOG.md VERSION
git add CHANGELOG.md VERSION
git commit -m "Update CHANGELOG for 0.1.1"
git tag -a v0.1.1 -m "Version 0.1.1"
git push origin 0-1-stable v0.1.1