Skip to content
Snippets Groups Projects

clean bscommitupdates commit message

Merged Ben Morrice requested to merge bscommitmsg into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -87,11 +87,13 @@ do
ADV="/afs/cern.ch/project/linux/wwwtest/updates/$DIST/$TODAY-test.file"
REPO_DEST_PATH="updates/$DIST/test/"
CHANNEL="testing"
FREQUENCY="Daily"
;;
"updates")
ADV="/afs/cern.ch/project/linux/wwwtest/updates/$DIST/$TODAY.file"
REPO_DEST_PATH="updates/$DIST/prod/"
CHANNEL="production"
FREQUENCY="Weekly"
;;
*)
echo -e $ROUGE "*** $DIST/$REPO not configured to commit updates";
@@ -145,7 +147,7 @@ do
mkdir -p $(dirname "$TMPDIR"/documentation/docs/$REPO_DEST_PATH/"$TODAY".md) && cp "$TMPDIR"/.updates $TMPDIR/documentation/docs/$REPO_DEST_PATH/$TODAY.md
git add "$TMPDIR"/documentation/docs/$REPO_DEST_PATH/"$TODAY".md
git commit -m "Weekly $DIST $CHANNEL updates $TODAY_FORMAT"
git commit -m "$FREQUENCY $DIST $CHANNEL updates $TODAY_FORMAT"
# Disable manual edit of commit message so it automerges
export GIT_MERGE_AUTOEDIT=no
Loading