mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Remove authors file from version control (can still be built from 'make authors')
This commit is contained in:
@@ -4,11 +4,11 @@ set -e
|
||||
|
||||
# Get a list of authors ordered by number of commits
|
||||
# and remove the commit count column
|
||||
AUTHORS=$(git --no-pager shortlog -nse | cut -f 2-)
|
||||
AUTHORS=$(git --no-pager shortlog -nse | cut -f 2- | sort -f)
|
||||
if [ -z "$AUTHORS" ] ; then
|
||||
echo "Authors list was empty"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Display the authors list and write it to the file
|
||||
echo "$AUTHORS" | tee "$(git rev-parse --show-toplevel)/AUTHORS.TXT" | sort
|
||||
echo "$AUTHORS" | tee "$(git rev-parse --show-toplevel)/AUTHORS.TXT"
|
||||
|
||||
Reference in New Issue
Block a user