@@ -58,6 +58,7 @@ distdir := dist
5858builddir := build
5959today := $(shell date "+% F")
6060
61+
6162# Print help if no command is given ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6263
6364# The help scheme works by looking for lines beginning with "#:" above make
@@ -98,6 +99,9 @@ define instructions_text =
989910. Wait for IGA to finish running its GitHub action at
99100 $(link )$(repo_url ) /actions$(reset )
10010111. Run $(color ) make post-release$(reset ) .
102+ 12. Run $(color ) make test-pypi$(reset ) .
103+ 13. Check $(link ) https://test.pypi.org/project/$(progname )$(reset )
104+ 14. Run $(color ) make pypi$(reset ) .
101105endef
102106
103107
@@ -144,7 +148,6 @@ report: vars
144148lint :
145149 flake8 iga
146150
147-
148151# : Run unit tests and coverage tests.
149152tests :;
150153 pytest -v --cov=iga -l tests/
@@ -179,11 +182,11 @@ confirm-release:
179182update-all : update-setup update-init update-meta update-citation update-example
180183
181184update-setup : vars
182- @sed -i .bak -e ' /^version/ s|= .*|= $(version)|' setup.cfg
183- @sed -i .bak -e ' /^description/ s|= .*|= $(desc)|' setup.cfg
184- @sed -i .bak -e ' /^author/ s|= .*|= $(author)|' setup.cfg
185- @sed -i .bak -e ' /^email / s|= .*|= $(email)|' setup.cfg
186- @sed -i .bak -e ' /^license / s|= .*|= $(license)|' setup.cfg
185+ @sed -i .bak -e ' /^version/ s|= .*|= $(version)|' setup.cfg
186+ @sed -i .bak -e ' /^description/ s|= .*|= $(desc)|' setup.cfg
187+ @sed -i .bak -e ' /^author / s|= .*|= $(author)|' setup.cfg
188+ @sed -i .bak -e ' /^author_email / s|= .*|= $(email)|' setup.cfg
189+ @sed -i .bak -e ' /^license / s|= .*|= $(license)|' setup.cfg
187190
188191update-init : vars
189192 @sed -i .bak -e " s|^\(__version__ *=\).*|\1 '$( version) '|" $(initfile )
@@ -236,17 +239,16 @@ wait-on-iga:
236239 @$(info ┃ Wait for the archiving workflow to finish on GitHub ┃)
237240 @$(info ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛)
238241 sleep 2
239- $(eval pid := $(shell gh run list --workflow=iga.yml --limit 1 | tail -1 | awk -F $'\t' '{print $7}') )
240- $(shell gh run watch $pid)
242+ $(eval pid := $(shell gh run list --workflow=iga.yml --limit 1 | tail -1 | awk -F $$ '\t' '{print $ $7}') )
243+ $(shell gh run watch $( pid ) )
241244
242245print-next-steps : vars
243246 @$(info ┏━━━━━━━━━━━━┓)
244247 @$(info ┃ Next steps ┃)
245248 @$(info ┗━━━━━━━━━━━━┛)
246249 @$(info Next steps:
247250 @$(info 1. Check $(repo_url ) /releases )
248- @$(info 2. Run "make update-doi" to update the DOI in README.md
249- @$(info 3. Run "make packages" and check the results
251+ @$(info 2. Run "make post-release"
250252 @$(info 4. Run "make test-pypi" to push to test.pypi.org
251253 @$(info 5. Check https://test.pypi.org/project/$(progname ) )
252254 @$(info 6. Run "make pypi" to push to pypi for real
0 commit comments