From f9f20a4dc023f840d2efc271dcc33114a5f5a32f Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Sun, 31 Jan 2021 22:32:00 -0500 Subject: [PATCH] Add messages to License action. --- 24-01-2021-AddLicenseToAllRepos/addLicense.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/24-01-2021-AddLicenseToAllRepos/addLicense.sh b/24-01-2021-AddLicenseToAllRepos/addLicense.sh index 538c436..ae600b1 100755 --- a/24-01-2021-AddLicenseToAllRepos/addLicense.sh +++ b/24-01-2021-AddLicenseToAllRepos/addLicense.sh @@ -3,4 +3,7 @@ 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." + echo "LICENSE.md added." +else + echo "LICENSE.md already exists in this repo." fi \ No newline at end of file