Commit 09f1dae9 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

Merge branch 'hoverht-master-patch-13961' into 'master'

fix: tag name needs a v prefix

See merge request ci/templates!112
parents 228d00b9 ab8ba61c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,9 +6,9 @@ python:semantic-release:version:
    EXTRA_ARGS: ""
  script:
    - pip install python-semantic-release
    - NEW_TAG=$(semantic-release print-version)
    - NEW_VERSION=$(semantic-release print-version)
    - GIT_COMMITTER_NAME=semantic-release GIT_COMMITTER_EMAIL=semantic-release semantic-release version ${EXTRA_ARGS}
    - (git tag -d "${NEW_TAG}" 2>/dev/null && git reset HEAD~1) || true
    - (git tag -d "v${NEW_VERSION}" 2>/dev/null && git reset HEAD~1) || true
  artifacts:
    paths:
      - ./*