Clarify our use versions and improve guidance for tagging

git push --tags sends all the tags to the server.
git push origin <tag> sends only the new tag to the server.
This commit is contained in:
Eric Dobbs 2020-02-06 09:08:06 -07:00
parent 82dacc05d9
commit 347dff8ea8
1 changed files with 8 additions and 4 deletions

View File

@ -35,14 +35,18 @@ The last non-breaking revision is 0.52.0 https://github.com/dobbs/farm/tree/0.52
# Development
This image's tag does not match the version of the included wiki software.
This image's tag does not match the version of the included wiki
software. Our version indicates the scale of changes in this tiny
devops pipeline. For example, when we changed the `USER` directive and
removed the wiki config generation scripts, we bumped the major
version from 0.50.x to 1.0.x.
Notes to self:
``` bash
docker build --tag dobbs/farm:0.51.0 .
git tag -am "" '0.51.0'
git push --tags
docker build --tag dobbs/farm:1.0.2 .
git tag -am "" '1.0.2'
git push origin '1.0.2'
```
The repos in Dockerhub and GitHub are configured to automatically build new tags.