From cfbafb326907d92c450aa9691444ec6de18ab629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dea=20Mar=C3=ADa=20L=C3=A9on?= Date: Wed, 24 Jul 2024 19:28:16 +0200 Subject: [PATCH] Added instructions for releaser --- .github/release-drafter.yml | 8 +++++++- release-procedure.md | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 5222f6d9..edae9850 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,9 @@ -exclude-labels: +exclude-labels: + # When PR will not be classified if it has these labels - skip changelog - release +name-template: 'Sparse v$RESOLVED_VERSION' + change-template: '- $TITLE (#$NUMBER)' autolabeler: @@ -32,6 +35,9 @@ autolabeler: - label: release title: - '/^release/' + - label: 'skip changelog' + title: + - '/^\[pre-commit.ci\]/' categories: - title: Highlights labels: highlight diff --git a/release-procedure.md b/release-procedure.md index 047e11ea..a936c33f 100644 --- a/release-procedure.md +++ b/release-procedure.md @@ -1,5 +1,3 @@ -* Update changelog in docs/changelog.rst and commit. - * Tag commit ```bash git tag -a x.x.x -m 'Version x.x.x' @@ -17,6 +15,14 @@ twine upload dist/* # upload packages ``` +* Update the release drafter: + Go to https://github.com/pydata/sparse + Under the “Release" section there are two links: One is the latest release (it has a tag). + The second one is +. Click on the second one so you can see the release drafter. + Edit the draft by clicking the "pencil" figure. + Make sure you have the correct tags. If they are not, you can create one. + If the markdown page looks correct, click on “Publish release”. +
* Enable the newly-pushed tag for documentation: https://readthedocs.org/projects/sparse-nd/versions/ * Wait for conda-forge to realise that the build is too old and make a PR. * Edit and merge that PR.