Skip to content

Commit

Permalink
Added instructions for releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
DeaMariaLeon committed Jul 24, 2024
1 parent 21acd78 commit cfbafb3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -32,6 +35,9 @@ autolabeler:
- label: release
title:
- '/^release/'
- label: 'skip changelog'
title:
- '/^\[pre-commit.ci\]/'
categories:
- title: Highlights
labels: highlight
Expand Down
10 changes: 8 additions & 2 deletions release-procedure.md
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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 +<number of releases>. 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”.
<br>
* 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.
Expand Down

0 comments on commit cfbafb3

Please sign in to comment.