Skip to content

Commit 9fad9dc

Browse files
Bot Updating Templated Files
1 parent f56f469 commit 9fad9dc

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
@@ -290,7 +290,7 @@ pipeline {
290290
echo "Jenkinsfile is up to date."
291291
fi
292292
# Stage 2 - Delete old templates
293-
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"
293+
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"
294294
for i in ${OLD_TEMPLATES}; do
295295
if [[ -f "${i}" ]]; then
296296
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
@@ -326,12 +326,13 @@ pipeline {
326326
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
327327
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
328328
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
329+
cp --parents readme-vars.yml ${TEMPDIR}/repo/${LS_REPO}/ || :
329330
cd ${TEMPDIR}/repo/${LS_REPO}/
330331
if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then
331332
echo ".jenkins-external" >> .gitignore
332333
git add .gitignore
333334
fi
334-
git add ${TEMPLATED_FILES}
335+
git add readme-vars.yml ${TEMPLATED_FILES}
335336
git commit -m 'Bot Updating Templated Files'
336337
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
337338
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}

0 commit comments

Comments
 (0)