Compare commits
2 Commits
bc2d637ac1
...
102792422d
| Author | SHA1 | Date | |
|---|---|---|---|
| 102792422d | |||
| c77d96ab39 |
@ -9,7 +9,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- name: Update version and changelog
|
- name: Update version and changelog
|
||||||
image: registry.riba-interactive.de/conventi:1
|
image: registry.riba-interactive.de/conventi:latest
|
||||||
- name: Commit changelog updates
|
- name: Commit changelog updates
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
@ -17,7 +17,7 @@ steps:
|
|||||||
- git commit -m "version and changelog update [CI SKIP]"
|
- git commit -m "version and changelog update [CI SKIP]"
|
||||||
- git push origin $DRONE_TARGET_BRANCH
|
- git push origin $DRONE_TARGET_BRANCH
|
||||||
- name: Tag commit
|
- name: Tag commit
|
||||||
image: registry.riba-interactive.de/conventi:1
|
image: registry.riba-interactive.de/conventi:latest
|
||||||
commands:
|
commands:
|
||||||
- export VERSION=$(conventi.sh get_version)
|
- export VERSION=$(conventi.sh get_version)
|
||||||
- git tag -am "Tagging new version $VERSION" "$VERSION"
|
- git tag -am "Tagging new version $VERSION" "$VERSION"
|
||||||
|
|||||||
12
README.md
12
README.md
@ -1,3 +1,15 @@
|
|||||||
# conventi
|
# conventi
|
||||||
|
|
||||||
[](https://drone.riba-interactive.de/rick/conventi)
|
[](https://drone.riba-interactive.de/rick/conventi)
|
||||||
|
|
||||||
|
|
||||||
|
To initialize a git repositiory for version management and changelog generation use:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run -v "$(pwd):/conventi" registry.riba-interactive.de/conventi:lastest init
|
||||||
|
```
|
||||||
|
|
||||||
|
For updating the version and changelog simply run:
|
||||||
|
```
|
||||||
|
docker run -v "$(pwd):/conventi" registry.riba-interactive.de/conventi:lastest
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user