File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 7373Here are the steps for putting out a fresh release to Pypi.
7474
75751. 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
78782. Use the standard PR process and get changes from the above step merged to main.
7979
80803. 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.
Original file line number Diff line number Diff line change 1515
1616project = u'PSI/J'
1717copyright = u'The ExaWorks Team'
18- release = u'0.0.1'
19- version = release
2018
2119html_theme = 'sphinx_rtd_theme'
2220html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
5856sys .path .insert (0 , src_dir )
5957
6058import psij
59+ release = psij .__version__
60+ version = release
6161
6262intersphinx_mapping = {
6363 'python' : ('https://docs.python.org/3' , None ),
You can’t perform that action at this time.
0 commit comments