diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 69c28ae..74e4a27 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,6 +13,16 @@ jobs: uses: JRubics/poetry-publish@v1.17 with: pypi_token: ${{ secrets.PYPI_TOKEN }} + - name: Get release version + id: vars + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Wait for package to be published + uses: martolini/wait-for-pypi-action@v1 + with: + package_name: tempren + package_version: ${{ env.RELEASE_VERSION }} + delay_between_requests: 5 + timeout: 60 - name: Build snap package uses: snapcore/action-build@v1 diff --git a/pyproject.toml b/pyproject.toml index c64c61f..17e3710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tempren" -version = "1.2.1" +version = "1.2.2" description = "Template-based renaming utility" readme = "README.md" license = "GPL-3.0-or-later"