add DEVELOPMENT.md

This commit is contained in:
umarcor
2021-12-01 00:11:11 +01:00
parent 11ce447dda
commit 7803d6efb9

22
DEVELOPMENT.md Normal file
View File

@@ -0,0 +1,22 @@
# Development
## Tagging/versioning
See context in [#5](https://github.com/pyTooling/Actions/issues/5).
Tag new releases in the `main` branch using a semver compatible value, starting with `v`:
```sh
git checkout main
git tag v0.0.0
git push upstream v0.0.0
```
Move the corresponding release branch (starting with `r`) forward by creating a merge commit, and using the merged tag
as the commit message:
```sh
git checkout r0
git merge --no-ff -m 'v0.0.0' v0.0.0
git push upstream r0
```