diff options
author | 2021-03-15 20:11:14 -0700 | |
---|---|---|
committer | 2021-03-15 20:11:14 -0700 | |
commit | 6cf0ca819ce31f8e7ac471b49bbf078e54e55a94 (patch) | |
tree | 789779672f73afb6f87c465551a16708ae4ea6eb | |
parent | 8b7780f737d59751d21e81e2b0cb7d5157be0508 (diff) | |
download | WarpX-6cf0ca819ce31f8e7ac471b49bbf078e54e55a94.tar.gz WarpX-6cf0ca819ce31f8e7ac471b49bbf078e54e55a94.tar.zst WarpX-6cf0ca819ce31f8e7ac471b49bbf078e54e55a94.zip |
README: License Block (#1771)
Add a license block in the README. This is best practice recommended
from our IPO.
-rw-r--r-- | README.md | 20 | ||||
-rwxr-xr-x | Tools/Release/newVersion.sh | 7 |
2 files changed, 27 insertions, 0 deletions
@@ -25,3 +25,23 @@ To contact the developers, feel free to open an issue on this repo, or visit our ## Contributing Our workflow is described in [CONTRIBUTING.rst](CONTRIBUTING.rst). + +## License + +WarpX Copyright (c) 2018-2021, The Regents of the University of California, +through Lawrence Berkeley National Laboratory (subject to receipt of any +required approvals from the U.S. Dept. of Energy). All rights reserved. + +If you have questions about your rights to use or distribute this software, +please contact Berkeley Lab's Innovation & Partnerships Office at +IPO@lbl.gov. + +NOTICE. This Software was developed under funding from the U.S. Department +of Energy and the U.S. Government consequently retains certain rights. As +such, the U.S. Government has been granted for itself and others acting on +its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the +Software to reproduce, distribute copies to the public, prepare derivative +works, and perform publicly and display publicly, and to permit other to do +so. + +License for WarpX can be found at [LICENSE.txt](LICENSE.txt). diff --git a/Tools/Release/newVersion.sh b/Tools/Release/newVersion.sh index 0d23a36c7..3523c3730 100755 --- a/Tools/Release/newVersion.sh +++ b/Tools/Release/newVersion.sh @@ -132,6 +132,13 @@ sed -i -E "s/"\ "\1${VERSION_STR_NOSUFFIX}\3$(date +%Y)\5/g" \ ${REPO_DIR}/LICENSE.txt +# README.md +# README.md: WarpX Copyright (c) 2018-2021, The Regents of ... +sed -i -E "s/"\ +"(WarpX Copyright \(c\) 2018-)(.*)(, The Regents of.*)/"\ +"\1$(date +%Y)\3/g" \ + ${REPO_DIR}/README.md + # Epilog ###################################################################### |