Skip to content

Commit d3eb3e1

Browse files
committed
[skip ci] fix
1 parent 9843939 commit d3eb3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/copyright-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Update the copyright headers
4444
- name: Find and Replace
4545
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"
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"
4747
git diff
4848
# Create PR
4949
- name: Create Pull Request

0 commit comments

Comments
 (0)