Compare commits

..

No commits in common. "bc2d637ac18609f88cd6c6f60a4df564305c0019" and "f6513090fe38168d53aca545dacaeb1f127ccbbf" have entirely different histories.

2 changed files with 2 additions and 14 deletions

View File

@ -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:latest image: registry.riba-interactive.de/conventi:1
- 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:latest image: registry.riba-interactive.de/conventi:1
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"

View File

@ -1,15 +1,3 @@
# conventi # conventi
[![Build Status](https://drone.riba-interactive.de/api/badges/rick/conventi/status.svg)](https://drone.riba-interactive.de/rick/conventi) [![Build Status](https://drone.riba-interactive.de/api/badges/rick/conventi/status.svg)](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
```