ci: 👷 enable annotated tag to allow git push --follow-tags to work
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
RaviAnand Mohabir 2024-06-25 14:26:09 +02:00
parent 0f2d7f2cd8
commit c7a9f0573f
3 changed files with 2 additions and 13 deletions

View File

@ -12,7 +12,7 @@ steps:
- git config --global --add --bool push.autoSetupRemote true - git config --global --add --bool push.autoSetupRemote true
- git fetch --tags - git fetch --tags
- pip install -U Commitizen - pip install -U Commitizen
- cz bump --yes - cz bump --annotated-tag --yes
- git push --follow-tags - git push --follow-tags
- cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md - cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md
environment: environment:
@ -26,7 +26,6 @@ steps:
registry: gitea.dikurium.ch registry: gitea.dikurium.ch
repo: gitea.dikurium.ch/innopeak/drone-gitea-release repo: gitea.dikurium.ch/innopeak/drone-gitea-release
auto_tag: true auto_tag: true
dockerfile: docker/Dockerfile
username: username:
from_secret: docker_username from_secret: docker_username
password: password:

View File

@ -1,10 +0,0 @@
## 0.1.0 (2024-06-25)
### Feat
- :sparkles: add dockerfile
- :sparkles: implement drone-gitea-release plugin with support for tag from latest git tag or version file and notes from settings or file
### Fix
- :bug: disable CGO to be used in alpine image

View File

@ -5,5 +5,5 @@ commitizen:
name: cz_conventional_commits name: cz_conventional_commits
tag_format: $version tag_format: $version
update_changelog_on_bump: true update_changelog_on_bump: true
version: 0.1.0 version: 0.0.1
version_scheme: semver version_scheme: semver