From 14f76dd09e1ba018744138cd80dbda6dee404d16 Mon Sep 17 00:00:00 2001 From: Thales Bertaglia Date: Mon, 1 Feb 2021 09:10:54 -0300 Subject: [PATCH] Fix release versioning --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ba4a6f..c411054 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,16 +30,10 @@ jobs: id: check-parent-commit run: | echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)" - - - name: Bump version for developmental release - if: "! steps.check-version.outputs.tag" - run: | - poetry version patch && - version=$(poetry version | awk '{ print $2 }') && - poetry version $version.dev.$(date +%s) - name: Build package run: | + poetry version $(git describe --tags --abbrev=0) poetry build --ansi - name: Publish package on PyPI