From f8da2f6765190d53b73bf59de5771a6a0975eff9 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 24 Jun 2024 18:01:45 +0200 Subject: [PATCH] RLS: v0.4.0 --- .github/workflows/release.yml | 4 +++- dask_geopandas/_version.py | 2 +- setup.cfg | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2ef406b..1261c883 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,8 @@ jobs: steps: - name: Checkout source uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 @@ -51,7 +53,7 @@ jobs: path: dist - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/dask_geopandas/_version.py b/dask_geopandas/_version.py index 4d28be0e..12149a64 100644 --- a/dask_geopandas/_version.py +++ b/dask_geopandas/_version.py @@ -50,7 +50,7 @@ def get_config() -> VersioneerConfig: cfg = VersioneerConfig() cfg.VCS = "git" cfg.style = "pep440" - cfg.tag_prefix = "" + cfg.tag_prefix = "v" cfg.parentdir_prefix = "dask_geopandas-" cfg.versionfile_source = "dask_geopandas/_version.py" cfg.verbose = False diff --git a/setup.cfg b/setup.cfg index 00e1d2be..8ff99882 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,11 @@ +# See the docstring in versioneer.py for instructions. Note that you must +# re-run 'versioneer.py setup' after changing this section, and commit the +# resulting files. + [versioneer] VCS = git style = pep440 versionfile_source = dask_geopandas/_version.py versionfile_build = dask_geopandas/_version.py -tag_prefix = +tag_prefix = v parentdir_prefix = dask_geopandas-