Commit ab8ba61c authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

fix: tag name needs a v prefix

parent 228d00b9
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:
      - ./*