-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathrelease_notes.txt
More file actions
38 lines (29 loc) · 919 Bytes
/
release_notes.txt
File metadata and controls
38 lines (29 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
To make a release:
# make sure we're up to date
- git fetch refellips
- git checkout master
- git rebase refellips/master
- git clean -xdf (no detritus left over)
# a feature branch for the release
- git checkout -B <feature name>
- if necessary bump version number in setup.py, but only do it once
- change ISRELEASED to True in setup.py
- git commit -a -m'REL: vX.Y.Z'
- git push origin <feature name>
# once the CI has passed
- merge the feature branch
- git fetch refellips
- git checkout master
- git rebase refellips/master
# tag the release and put it onto github
- git tag -a vX.Y.Z
- git push refellips vX.Y.Z
- python -m pip install build
- python -m build .
- twine upload dist/*
# Epilogue
- git checkout master
- make sure ISRELEASED is False in setup.py, bump version number, create new
section in CHANGELOG.
- git commit -a -m'MAINT: bump version number [ci skip]'
- git push refellips master