Copyright update, again

pull/99/head
Andre Richter 3 years ago
parent 1d2b5ad022
commit fb33dddacf
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -1,6 +1,6 @@
MIT License
Copyright (C) 2018-2020 by the respective authors
Copyright (C) 2018-2021 by the respective authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

@ -13,8 +13,5 @@ files = files.join(' ')
year = Date.today.year
# Update "Copyright (c) 20..-20.."
`sed -i -- 's,\\(Copyright .c. 20..\\)-20..,\\1-#{year},g' #{files}`
# Update "Copyright (c) 20.. Name" -> "Copyright (c) 20..-20.. Name"
`sed -i -- 's,\\(Copyright .c. 20..\\) ,\\1-#{year} ,g' #{files}`
`sed -i -- 's,\\(Copyright .* 20..\\)-20..,\\1-#{year},g' #{files}`
`sed -i -- 's,\\(Copyright .* #{year - 1}\\) ,\\1-#{year} ,g' #{files}`

Loading…
Cancel
Save