Skip to content

Commit

Permalink
doc: Document oneliner to create Git Tag
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Hutter <manuel@hutter.io>
  • Loading branch information
mhutter committed Aug 21, 2024
1 parent da7c9fb commit d9d60df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ To publish a new release, simply create & push a new Git Tag.

NOTE: Tags should follow the included CRS version. Use the build number to signify changes to the images with the same CRS number, e.g. `v4.3.0-0` -> `v4.3.0-1`.

One-Liner to create a Tag:

```sh
tag="v$(grep '^FROM ' Dockerfile| cut -d':' -f2 | cut -d'-' -f1)-0"; git tag -s "$tag" -m "$tag"
```

Don't forget to `git push --tags` afterwards!

## Configuration

Most aspects can be configured using environment variables.
Expand Down

0 comments on commit d9d60df

Please sign in to comment.