gCubeActions/24-01-2021-AddLicenseToAllR.../addLicense.sh

6 lines
265 B
Bash
Raw Normal View History

2021-01-27 02:48:19 +01:00
#!/usr/bin/env bash
if [[ ! -f LICENSE.md ]]; then
curl https://code-repo.d4science.org/manuele.simi/gCubeActionsFiles/raw/branch/master/24-01-2021-AddLicenseToAllRepos/files/LICENSE.md -o LICENSE.md
git add LICENSE.md
git commit -m "Add LICENSE.md."
fi