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