Skip to content

Commit 138d7c5

Browse files
committed
setting up changelog infrastructure to be handled by rever
1 parent def4d05 commit 138d7c5

File tree

4 files changed

+55
-26
lines changed

4 files changed

+55
-26
lines changed

CHANGELOG.md

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

news/TEMPLATE.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

news/gui311cf.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* support for python 3.11
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* NameError wx not found bug on resizing table cell
20+
21+
**Security:**
22+
23+
* <news item>

rever.xsh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
$PROJECT = 'diffpy.pdfgui'
22
$ACTIVITIES = [
3+
'version_bump',
4+
'changelog',
35
'tag', # Creates a tag for the new version number
46
'push_tag', # Pushes the tag up to the $TAG_REMOTE
57
'pypi', # Sends the package to pypi
68
'ghrelease' # Creates a Github release entry for the new tag
79
]
10+
$VERSION_BUMP_PATTERNS = [
11+
('regolith/__init__.py', '__version__\s*=.*', "__version__ = '$VERSION'"),
12+
('setup.py', 'version\s*=.*,', "version='$VERSION',")
13+
]
14+
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
15+
$CHANGELOG_IGNORE = ['TEMPLATE.rst']
816
$PUSH_TAG_REMOTE = '[email protected]:diffpy/diffpy.pdfgui.git' # Repo to push tags to
17+
918
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
1019
$GITHUB_REPO = 'diffpy.pdfgui' # Github repo for Github releases and conda-forge
1120
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.

0 commit comments

Comments
 (0)