diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 731d06a..fb78014 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -4,7 +4,7 @@ name: create-release on: push: tags: - - diepvries/* + - 'v*' permissions: contents: write @@ -23,6 +23,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + release_name: diepvries ${{ github.ref }} draft: false prerelease: false diff --git a/.github/workflows/pages-build-and-deploy.yml b/.github/workflows/pages-build-and-deploy.yml index 3fc8f69..ef7ef61 100644 --- a/.github/workflows/pages-build-and-deploy.yml +++ b/.github/workflows/pages-build-and-deploy.yml @@ -4,7 +4,7 @@ name: pages-build-and-deploy on: push: tags: - - diepvries/* + - 'v*' jobs: deploy-github-pages: diff --git a/.github/workflows/pypi-build-and-deploy.yml b/.github/workflows/pypi-build-and-deploy.yml index 59c8a54..9f6d17c 100644 --- a/.github/workflows/pypi-build-and-deploy.yml +++ b/.github/workflows/pypi-build-and-deploy.yml @@ -4,7 +4,7 @@ name: pypi-build-and-deploy on: push: tags: - - diepvries/* + - 'v*' jobs: deploy-to-pypi: diff --git a/pyproject.toml b/pyproject.toml index d95da04..03d7d8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,5 +3,5 @@ requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]~=6.0"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] -tag_regex = "^diepvries/(?P[0-9\\.]+)$" # backslash needs to be escaped in TOML +tag_regex = "^v(?P[0-9\\.]+)$" # backslash needs to be escaped in TOML local_scheme = "no-local-version"