We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164d62f commit 9e18635Copy full SHA for 9e18635
.github/workflows/copyright-update.yml
@@ -43,7 +43,7 @@ jobs:
43
# Update the copyright headers
44
- name: Find and Replace
45
run: |
46
- grep -rlZE "Copyright 20[0-9]{2}" . | xargs -0 sed -i -e "s/Copyright \([0-9]{4}\)-\([0-9]{4}\)/Copyright \1-$(date +'%Y')/g"
+ grep -rlZE "Copyright 20[0-9]{2}" . | xargs -0 sed -i -E "s/Copyright ([0-9]{4})-([0-9]{4})/Copyright \1-$(date +'%Y')/g"
47
git diff
48
# Create PR
49
- name: Create Pull Request
0 commit comments