monero
monero copied to clipboard
copyright: bump to 2024
Happy new year! :smiley_cat:
From an external runflow @ https://github.com/plowsof/copyCat/actions/runs/9178054141
replaces #9252
original comment was edited to fix repo name from "monero" -> "copyCat". at the bottom of the workflow run id logfile, the PR request number is shown https://github.com/plowsof/copyCat/actions/runs/9178054141/job/25237060753#step:2:821 the diffs between the copyright.yml on core + the external one at copyCat are: replacing
to=$(awk '{split($0, array, "-"); print array[2]}' <<< ${fromTo})
repl=${line/"$to"/"$year"}
with: (to account for sameyear-sameyear)
to=$(awk '{split($0, array, "-"); print array[2]}' <<< ${fromTo})
from=$(awk '{split($0, array, "-"); print array[1]}' <<< ${fromTo})
repl=${line/"$from-$to"/"$from-$year"}
and some other things to clone / create a pull request to an external repo