aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/ci-build.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-23 07:52:21 -0300
committerEuAndreh <eu@euandre.org>2021-06-23 07:52:21 -0300
commitec0782ce4bb8494cc8692aff34f8a2373ec45f9f (patch)
tree9f2fa560ac04f880a6fbc6e63d9813c806d152d9 /aux/ci/ci-build.sh
parentaux/guix/with-container.sh: Remove -x sh option (diff)
downloadgit-permalink-ec0782ce4bb8494cc8692aff34f8a2373ec45f9f.tar.gz
git-permalink-ec0782ce4bb8494cc8692aff34f8a2373ec45f9f.tar.xz
git grep -l PACKAGE aux/ | xargs sed -i 's/PACKAGE/PROJECT/g'
Diffstat (limited to 'aux/ci/ci-build.sh')
-rwxr-xr-xaux/ci/ci-build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
index 60af813..9f89205 100755
--- a/aux/ci/ci-build.sh
+++ b/aux/ci/ci-build.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -eux
-PACKAGE="$1"
+PROJECT="$1"
LOGS_DIR="$2"
read -r _ SHA _ # oldrev newrev refname
FILENAME="$(date -Is)-$SHA.log"
@@ -26,8 +26,8 @@ EOF
git notes append -m "$NOTE"
cd -
- sh aux/ci/report.sh "$PACKAGE"
- rsync -av public/ "/srv/http/$PACKAGE/" --delete
+ sh aux/ci/report.sh "$PROJECT"
+ rsync -av public/ "/srv/http/$PROJECT/" --delete
printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS"
}