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-stable
branch frommaster
, - Update a
CHANGELOG.md
with a list of changes, - Create a new Merge Request pointing to
master
, - Merge a merge request that updates
VERSION
andCHANGELOG.md
, - Push a branch
X-Y-stable
to GitLab (whereX
ismajor
,Y
is minor), - Push a new annotated tag
vX.Y.0
(whereZ
is patch release), - Merge
X-Y-stable
branch intomaster
, - Update
VERSION
to 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 master
To create a new patch release of the application follow these steps:
- Start from
X-Y-stable
branch, - Pick all changes that goes into patch release, by picking a
merge commit
of the change, - Update
VERSION
andCHANGELOG.md
to point to next patch release and list all changes, - Push a branch
X-Y-stable
to GitLab (whereX
ismajor
,Y
is minor), - Push a new annotated tag
vX.Y.0
(whereZ
is patch release), - DO NOT UPDATE
master
with 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