update README.md

main
ansgarz 3 months ago
parent 52c65b54c2
commit 3860531bd4

@ -2,6 +2,43 @@ This repo shows examples how dda-devops-build (https://repo.prod.meissa.de/meiss
As a starting point, you may want to have a look at file [build.py](build.py) in this repo
and the tasks which are defined in this file.
# Usage
## Examples
### Build
You can trigger the build-task by
```
pyb dev
```
### Releases
With task `patch` you can create a patch-level release with one command, i.e. perform the following actions:
* create a commit for a patch-leve release version
* e.g. if current project version is 1.1.1-dev, the update version will be the release version 1.1.1
* the commit contains all build files specified in the build.py (primary as well as secondary build files),
where the primary build file contains the version number to be used for all build files
* create a tag for the release commit (e.g. tag 1.1.1 for the corresponding commit)
* a second commit for the next snapshot version (1.1.2-dev)
* push both commits and the tag to the remote git repo
```
pyb patch
```
Similarly you can create a minor or major version with:
```
pyb minor
```
resp.
```
pyb major
```
# Release Testing
## NoRelease

Loading…
Cancel
Save