Skip to content

Commit 54387da

Browse files
committed
Added auto-release infrastructure
1 parent cc2364d commit 54387da

File tree

4 files changed

+91
-50
lines changed

4 files changed

+91
-50
lines changed

.github/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- pre-commit-ci
5+
labels:
6+
- no-changelog-entry-needed
7+
- skip-changelog
8+
9+
categories:
10+
- title: New Features
11+
labels:
12+
- enhancement
13+
- title: Bug Fixes
14+
labels:
15+
- bug
16+
- title: Documentation
17+
labels:
18+
- documentation
19+
- title: Other Changes
20+
labels:
21+
- "*"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow takes the GitHub release notes and updates the changelog on the
2+
# main branch with the body of the release notes, thereby keeping a log in
3+
# the git repo of the changes.
4+
5+
name: "Update Changelog"
6+
7+
on:
8+
release:
9+
types: [released]
10+
11+
jobs:
12+
update:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
with:
19+
ref: main
20+
21+
- name: Update Changelog
22+
uses: stefanzweifel/changelog-updater-action@v1
23+
with:
24+
release-notes: ${{ github.event.release.body }}
25+
latest-version: ${{ github.event.release.name }}
26+
path-to-changelog: CHANGES.md
27+
28+
- name: Commit updated Changelog
29+
uses: stefanzweifel/git-auto-commit-action@v4
30+
with:
31+
branch: main
32+
commit_message: Update CHANGELOG
33+
file_pattern: CHANGES.md

CHANGES.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# 0.7 (2020-08-03)
2+
3+
- Fix compatibility with Matplotlib 3.3. \[#30\]
4+
- Drop support for Python 2.7 and require Matplotlib\>=3. \[#30\]
5+
- Update package infrastructure. \[#31\]
6+
7+
# 0.6 (2019-05-28)
8+
9+
- Avoid unecessary imports of Qt and Tk. \[#27\]
10+
11+
# 0.5 (2019-01-27)
12+
13+
- Internal code reorganization to faciliate re-use in other packages.
14+
\[#26\]
15+
16+
# 0.4 (2018-09-04)
17+
18+
- Added a keyword argment `update_while_panning` to set whether to
19+
compute the scatter denstiy map while panning and zooming. \[#16\]
20+
- Downsample when resizing interactive window. \[#14\]
21+
22+
# 0.3 (2017-10-29)
23+
24+
- Added support for the `c=` argument, similar to the argument with
25+
the same name in Matplotlib\'s `scatter` function. \[#11\]
26+
- Added support for log axes. \[#11\]
27+
- Fixed support for flipped limits (e.g. xmax \< xmin). \[#11\]
28+
- Added support for setting vmin/vmax to functions to determine limits
29+
on-the-fly. \[#11\]
30+
31+
# 0.2 (2017-07-20)
32+
33+
- Fix compatibility with the Jupyter notebook. \[#8\]
34+
35+
# 0.1 (2017-07-19)
36+
37+
- Initial version.

CHANGES.rst

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

0 commit comments

Comments
 (0)