Skip to content

Commit a98c04e

Browse files
authored
Merge pull request #365 from ExaWorks/some_release_related_updates
Some release related updates
2 parents 952f7ef + fa9d4ba commit a98c04e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README-dev.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,17 @@ tab.
7373
Here are the steps for putting out a fresh release to Pypi.
7474
7575
1. Create a new branch from main and make release specific updates:
76-
* Update `src/psij/version.py` to the new version number
76+
* Update `RELEASE` and `src/psij/version.py` to the new version number
7777
7878
2. Use the standard PR process and get changes from the above step merged to main.
7979
8080
3. Follow instructions here to [pypi docs](https://pypi.org/help/#apitoken) to
8181
setup tokens on your machine.
8282
83-
4. Run `make VERSION="version string" tag-and-release`. This will:
83+
4. Make a clean clone of the main branch
84+
85+
5. Run `make VERSION="version string" tag-and-release`, where the version string
86+
has the format "x.y.z[-s]". This will:
8487
* Create and push tags to GitHub.
8588
* Build the package.
8689
* Push built package to Pypi.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
project = u'PSI/J'
1717
copyright = u'The ExaWorks Team'
18-
release = u'0.0.1'
19-
version = release
2018

2119
html_theme = 'sphinx_rtd_theme'
2220
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
@@ -58,6 +56,8 @@
5856
sys.path.insert(0, src_dir)
5957

6058
import psij
59+
release = psij.__version__
60+
version = release
6161

6262
intersphinx_mapping = {
6363
'python': ('https://docs.python.org/3', None),

0 commit comments

Comments
 (0)