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."
|
2021-02-01 04:32:00 +01:00
|
|
|
echo "LICENSE.md added."
|
|
|
|
else
|
|
|
|
echo "LICENSE.md already exists in this repo."
|
2021-01-27 02:48:19 +01:00
|
|
|
fi
|