forked from platypush/platypush
[CI/CD] The chmod section should be on the update-apt-repo
step.
This commit is contained in:
parent
4afd1b68d0
commit
532427eeb5
1 changed files with 2 additions and 6 deletions
|
@ -423,9 +423,6 @@ steps:
|
||||||
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- chmod -R a+r "$APT_ROOT"
|
|
||||||
- chmod a+x "$APT_ROOT"
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Update the Debian (oldstable) packages
|
### Update the Debian (oldstable) packages
|
||||||
###
|
###
|
||||||
|
@ -517,9 +514,6 @@ steps:
|
||||||
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- chmod -R a+r "$APT_ROOT"
|
|
||||||
- chmod a+x "$APT_ROOT"
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Updates the APT repository after new packages have been pushed
|
### Updates the APT repository after new packages have been pushed
|
||||||
###
|
###
|
||||||
|
@ -697,6 +691,8 @@ steps:
|
||||||
mv "$APT_ROOT" "$OLD_APT_ROOT"
|
mv "$APT_ROOT" "$OLD_APT_ROOT"
|
||||||
mv "$TMP_APT_ROOT" "$APT_ROOT"
|
mv "$TMP_APT_ROOT" "$APT_ROOT"
|
||||||
rm -rf "$OLD_APT_ROOT"
|
rm -rf "$OLD_APT_ROOT"
|
||||||
|
chmod -R a+r "$APT_ROOT"
|
||||||
|
chmod a+x "$APT_ROOT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue