Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit 7cb7000

Browse files
Bot Updating Templated Files
1 parent 3244920 commit 7cb7000

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ pipeline {
280280
echo "Jenkinsfile is up to date."
281281
fi
282282
# Stage 2 - Delete old templates
283-
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md .github/ISSUE_TEMPLATE/issue.bug.md .github/ISSUE_TEMPLATE/issue.feature.md .github/workflows/call_invalid_helper.yml .github/workflows/stale.yml"
283+
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md .github/ISSUE_TEMPLATE/issue.bug.md .github/ISSUE_TEMPLATE/issue.feature.md .github/workflows/call_invalid_helper.yml .github/workflows/stale.yml Dockerfile.armhf"
284284
for i in ${OLD_TEMPLATES}; do
285285
if [[ -f "${i}" ]]; then
286286
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
@@ -316,12 +316,13 @@ pipeline {
316316
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
317317
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
318318
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
319+
cp --parents readme-vars.yml ${TEMPDIR}/repo/${LS_REPO}/ || :
319320
cd ${TEMPDIR}/repo/${LS_REPO}/
320321
if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then
321322
echo ".jenkins-external" >> .gitignore
322323
git add .gitignore
323324
fi
324-
git add ${TEMPLATED_FILES}
325+
git add readme-vars.yml ${TEMPLATED_FILES}
325326
git commit -m 'Bot Updating Templated Files'
326327
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
327328
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}

0 commit comments

Comments
 (0)