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

6 lines
265 B
Bash
Executable File

#!/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