From 576f878ddca8ae5122e099c3831afaa29e46b483 Mon Sep 17 00:00:00 2001 From: Georg K Date: Thu, 11 Apr 2024 21:08:08 +0300 Subject: [PATCH] fix: pypi version --- .gitlab-ci.yml | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b22fb12..e57d018 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ stages: publish-pypi: stage: package + variables: + EXT_FIX: "1" image: python:3.12.2-alpine3.19 script: - apk add --no-cache gcc musl-dev @@ -15,6 +17,7 @@ publish-pypi: - poetry build - poetry source add --priority=supplemental connectone ${PYPI_REPO_URL} - poetry config http-basic.connectone ${PYPI_REPO_USER} ${PYPI_REPO_PASSWORD} + - PV=$(poetry version -s) && poetry version ${PV}+jar3b${EXT_FIX} - poetry publish -r connectone -u ${PYPI_REPO_USER} -p ${PYPI_REPO_PASSWORD} -n only: - master diff --git a/pyproject.toml b/pyproject.toml index 5635c94..1aced86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "betterproto" -version = "2.0.0b6" +version = "2.0.0b6+jar3b1" description = "A better Protobuf / gRPC generator & library" authors = ["Daniel G. Taylor "] readme = "README.md"