Skip to content

Commit 407f62a

Browse files
committed
chore: merge branch
2 parents 792e118 + bca81f7 commit 407f62a

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

Makefile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ distdir := dist
5858
builddir := build
5959
today := $(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 =
9899
10. Wait for IGA to finish running its GitHub action at
99100
$(link)$(repo_url)/actions$(reset)
100101
11. 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).
101105
endef
102106

103107

@@ -144,7 +148,6 @@ report: vars
144148
lint:
145149
flake8 iga
146150

147-
148151
#: Run unit tests and coverage tests.
149152
tests:;
150153
pytest -v --cov=iga -l tests/
@@ -179,11 +182,11 @@ confirm-release:
179182
update-all: update-setup update-init update-meta update-citation update-example
180183

181184
update-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

188191
update-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

242245
print-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

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = iga
99
version = 1.2.0
1010
description = The InvenioRDM GitHub Archiver (IGA) automatically archives GitHub releases in an InvenioRDM repository.
1111
author = Michael Hucka
12-
author_email = Michael Hucka
12+
author_email = [email protected]
1313
license = https://github.com/caltechlibrary/iga/blob/main/LICENSE
1414
license_files = LICENSE
1515
url = https://github.com/caltechlibrary/iga

0 commit comments

Comments
 (0)