From c7a9f0573fa240f4df6ba158b640f26ede637394 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Tue, 25 Jun 2024 14:26:09 +0200 Subject: [PATCH] ci: :construction_worker: enable annotated tag to allow git push --follow-tags to work --- .drone.yml | 3 +-- CHANGELOG.md | 10 ---------- cz.yaml | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.drone.yml b/.drone.yml index e2e63c7..74d11f1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ steps: - git config --global --add --bool push.autoSetupRemote true - git fetch --tags - pip install -U Commitizen - - cz bump --yes + - cz bump --annotated-tag --yes - git push --follow-tags - cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md environment: @@ -26,7 +26,6 @@ steps: registry: gitea.dikurium.ch repo: gitea.dikurium.ch/innopeak/drone-gitea-release auto_tag: true - dockerfile: docker/Dockerfile username: from_secret: docker_username password: diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index d3d5ead..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -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 diff --git a/cz.yaml b/cz.yaml index a6e9e7e..31a92cd 100644 --- a/cz.yaml +++ b/cz.yaml @@ -5,5 +5,5 @@ commitizen: name: cz_conventional_commits tag_format: $version update_changelog_on_bump: true - version: 0.1.0 + version: 0.0.1 version_scheme: semver