Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Nov 30, 2023
1 parent ae338e6 commit c184c36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/refresh-authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- name: Run refresh script
run: |
set -euo pipefail
go install github.com/calmh/git-contributors@latest
bash refresh-authors.sh
if [ -z "$(git status --porcelain)" ]; then exit 0; fi
git config --global user.name 'Syncthing Release Automation'
Expand Down
4 changes: 2 additions & 2 deletions refresh-authors.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
set -euo pipefail
set -x

# "git contributors" is https://github.com/calmh/git-contributors

go install github.com/calmh/git-contributors@latest
git-contributors --read-authors=AUTHORS --authors > authors-new
grep \# AUTHORS > authors-hdr
cat authors-hdr authors-new > AUTHORS
Expand Down

0 comments on commit c184c36

Please sign in to comment.