Skip to content

Commit 277c3ed

Browse files
Bot Updating Templated Files
1 parent 4f52c3d commit 277c3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ pipeline {
326326
fi
327327
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
328328
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
329+
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
329330
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
330331
cd ${TEMPDIR}/${LS_REPO}/
331-
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
332332
git --git-dir ${TEMPDIR}/${LS_REPO}/.git add package_versions.txt
333333
git --git-dir ${TEMPDIR}/${LS_REPO}/.git commit -m 'Bot Updating Package Versions'
334334
git --git-dir ${TEMPDIR}/${LS_REPO}/.git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all

0 commit comments

Comments
 (0)