File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -496,15 +496,16 @@ doccoverage: $(done_dir)/develop_$(pymn)_$(PACKAGE_LEVEL).done
496496authors : AUTHORS.md
497497 @echo " Makefile: $@ done."
498498
499- # Make sure the AUTHORS.md file is up to date but has the old date when it did not change to prevent redoing dependent targets
499+ # Make sure the AUTHORS.md file is up to date but has the old date when it did
500+ # not change to prevent redoing dependent targets.
500501AUTHORS.md : _always
501502 echo " # Authors of this project" > AUTHORS.md.tmp
502503 echo " " >> AUTHORS.md.tmp
503504 echo " Sorted list of authors derived from git commit history:" >> AUTHORS.md.tmp
504505 echo ' ```' >> AUTHORS.md.tmp
505- git shortlog --summary --email | cut -f 2 | sort >> AUTHORS.md.tmp
506+ bash -c " git shortlog --summary --email HEAD | cut -f 2 | LC_ALL=C.UTF-8 sort >>AUTHORS.md.tmp"
506507 echo ' ```' >> AUTHORS.md.tmp
507- bash -c " if ! diff -q AUTHORS.md.tmp AUTHORS.md; then mv AUTHORS.md.tmp AUTHORS.md; else rm AUTHORS.md.tmp; fi"
508+ bash -c " if ! diff -q AUTHORS.md.tmp AUTHORS.md; then echo 'Updating AUTHORS.md as follows:'; diff AUTHORS.md.tmp AUTHORS.md; mv AUTHORS.md.tmp AUTHORS.md; else echo 'AUTHORS.md was already up to date'; rm AUTHORS.md.tmp; fi"
508509
509510$(sdist_file ) : pyproject.toml $(dist_dependent_files )
510511 @echo " Makefile: Building the source distribution archive: $( sdist_file) "
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ Released: not yet
2424 of the 'build' module) and increasing the minimum version of 'setuptools-scm'
2525 to 9.2.0, which fixes a number of version related issues.
2626
27+ * Dev: Made order of names in AUTHORS.md reliable.
28+
2729**Enhancements: **
2830
2931**Cleanup: **
You can’t perform that action at this time.
0 commit comments