File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -326,9 +326,9 @@ pipeline {
326
326
fi
327
327
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
328
328
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
329
+ git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
329
330
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
330
331
cd ${TEMPDIR}/${LS_REPO}/
331
- git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
332
332
git --git-dir ${TEMPDIR}/${LS_REPO}/.git add package_versions.txt
333
333
git --git-dir ${TEMPDIR}/${LS_REPO}/.git commit -m 'Bot Updating Package Versions'
334
334
git --git-dir ${TEMPDIR}/${LS_REPO}/.git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
You can’t perform that action at this time.
0 commit comments