Skip to content

Commit

Permalink
Merge pull request #77 from dragonyanglong/setup_rever
Browse files Browse the repository at this point in the history
ENH: add rever for release.
  • Loading branch information
dragonyanglong committed Dec 29, 2022
2 parents 1f296a8 + d3b80f7 commit 4f85e5f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Release notes

Notable differences from version 1.1.2.

## Version 1.2.0 – 2022-12-29

### Added

- Support for Python 3.8, 3.9, 3.10.
- Use ddp3 to store project files.

### Changed

### Deprecated

### Removed

### Fixed

- Incompatible conversion between bytes and str from py2 to py3.
14 changes: 14 additions & 0 deletions rever.xsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$PROJECT = 'diffpy.pdfgui'
$ACTIVITIES = [
'tag', # Creates a tag for the new version number
'push_tag', # Pushes the tag up to the $TAG_REMOTE
'pypi', # Sends the package to pypi
'ghrelease' # Creates a Github release entry for the new tag
]
$PUSH_TAG_REMOTE = 'git@github.com:diffpy/diffpy.pdfgui.git' # Repo to push tags to
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'diffpy.pdfgui' # Github repo for Github releases and conda-forge
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
The release is also available at [PyPI](https://pypi.org/project/diffpy.pdfgui/) and [Conda](https://anaconda.org/conda-forge/diffpy.pdfgui).
""" # release message
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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

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

0 comments on commit 4f85e5f

Please sign in to comment.