Skip to content

Commit f39809e

Browse files
committed
Bumped version to 1.0.5.
1 parent 689103d commit f39809e

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

.github/ReadMe.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/publish_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ on: [workflow_dispatch]
66
jobs:
77

88
publish:
9-
if: startsWith(github.ref, "refs/tags/") # Commit must be tagged.
109
runs-on: ubuntu-latest
10+
environment:
11+
name: release
12+
url: https://pypi.org/p/KDE-diffusion
13+
permissions:
14+
id-token: write
1115
steps:
1216

1317
- name: Check out code.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[project]
44
name = 'KDE-diffusion'
55
authors = [{name='John Hennig'}]
6-
version = '1.0.4'
6+
version = '1.0.5'
77
description = 'Kernel density estimation via diffusion in 1d and 2d'
88
keywords = ['kernel density estimation', 'statistics']
99
classifiers = [

tools/ReadMe.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ root folder.
1616
### Releasing a new version
1717

1818
- Run code linter: `python tools/lint.py`
19+
- Run test suite: `python tools/test.py`
1920
- Run code coverage: `python tools/coverage.py`
2021
- Test docs build: `python tools/docs.py`
2122
- Test wheel build: `python tools/wheel.py`
2223
- Bump version number in `pyproject.toml`.
2324
- Add dedicated commit for the version bump.
24-
- Tag with version: `git tag vx.y.z`
25-
- Push to GitHub: `git push && git push --tags`
26-
- Check documentation build on Read-the-Docs.
27-
- Fast-forward stable branch: `git branch --force stable`
28-
- Create new release on GitHub and add release notes.
25+
- Push to GitHub: `git push origin main`
26+
- Check "latest" documentation build on Read-the-Docs.
2927
- Run `publish_release` GitHub action.
28+
- Create release tag on GitHub.
29+
- Create new release on GitHub and add release notes.
30+
- Fast-forward stable branch: `git branch --force stable`
31+
- Update "stable" documentation: `git push origin stable`

tools/lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
root = Path(__file__).parent.parent
88

9-
run(['flake8'], cwd=root, check=True)
9+
run(['ruff', 'check'], cwd=root, check=True)

0 commit comments

Comments
 (0)