Skip to content

Commit

Permalink
Update README and README.md depending on which exists
Browse files Browse the repository at this point in the history
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from #166)
  • Loading branch information
t8m committed Jan 18, 2024
1 parent 6b18359 commit 589faa7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions release-tools/do-copyright-year
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ collect_files() {
git diff-tree -r --name-status `git rev-list -1 --before=$NYD HEAD`..HEAD | \
grep -v '^ *D'

# Always update the end year in README.md. It might be listed twice,
# but this is hardly a problem, just slightly suboptimal.
echo 'X README.md'
# Always update the end year in README.md and/or README.
# It might be listed twice, but this is hardly a problem,
# just slightly suboptimal.
[[ -f README.md ]] && echo 'X README.md'
[[ -f README ]] && echo 'X README'
}

process_files() {
Expand Down

0 comments on commit 589faa7

Please sign in to comment.