Skip to content

Commit 4f85e5f

Browse files
Merge pull request #77 from dragonyanglong/setup_rever
ENH: add rever for release.
2 parents 1f296a8 + d3b80f7 commit 4f85e5f

3 files changed

Lines changed: 35 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Release notes
2+
3+
Notable differences from version 1.1.2.
4+
5+
## Version 1.2.0 – 2022-12-29
6+
7+
### Added
8+
9+
- Support for Python 3.8, 3.9, 3.10.
10+
- Use ddp3 to store project files.
11+
12+
### Changed
13+
14+
### Deprecated
15+
16+
### Removed
17+
18+
### Fixed
19+
20+
- Incompatible conversion between bytes and str from py2 to py3.

rever.xsh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
$PROJECT = 'diffpy.pdfgui'
2+
$ACTIVITIES = [
3+
'tag', # Creates a tag for the new version number
4+
'push_tag', # Pushes the tag up to the $TAG_REMOTE
5+
'pypi', # Sends the package to pypi
6+
'ghrelease' # Creates a Github release entry for the new tag
7+
]
8+
$PUSH_TAG_REMOTE = 'git@github.com:diffpy/diffpy.pdfgui.git' # Repo to push tags to
9+
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
10+
$GITHUB_REPO = 'diffpy.pdfgui' # Github repo for Github releases and conda-forge
11+
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
12+
13+
The release is also available at [PyPI](https://pypi.org/project/diffpy.pdfgui/) and [Conda](https://anaconda.org/conda-forge/diffpy.pdfgui).
14+
""" # release message

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use this version when git data are not available, like in git zip archive.
1717
# Update when tagging a new release.
18-
FALLBACK_VERSION = '1.4.0'
18+
FALLBACK_VERSION = '1.2.0'
1919

2020
# determine if we run with Python 3.
2121
PY3 = (sys.version_info[0] == 3)

0 commit comments

Comments
 (0)