File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ jobs:
248248 repo : OctoPrint/devtools
249249 ref : main
250250 inputs : ' {"image": "${{ needs.build.outputs.image-url }}", "target": "pic"}'
251- repost-logs : true
251+ repost-logs : false
252252
253253 deploy :
254254 name : " Deploy"
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ export LC_ALL=C
66source /common.sh
77install_cleanup_trap
88
9+ BUNDLED="OctoPrint-FileCheck OctoPrint-FirmwareCheck OctoPrint-PiSupport"
10+
911if [ -n "$OCTOPRINT_VERSION" ]; then
1012 # fetch from GitHub since PyPI might not yet be synced through right after a fresh release
11- sudo -u pi /home/pi/oprint/bin/pip install -U https://github.com/OctoPrint/OctoPrint/archive/refs/tags/$OCTOPRINT_VERSION.zip
13+ sudo -u pi /home/pi/oprint/bin/pip install -U https://github.com/OctoPrint/OctoPrint/archive/refs/tags/$OCTOPRINT_VERSION.zip $BUNDLED
1214else
13- sudo -u pi /home/pi/oprint/bin/pip install -U OctoPrint
15+ sudo -u pi /home/pi/oprint/bin/pip install -U OctoPrint $BUNDLED
1416fi
Original file line number Diff line number Diff line change 1+ set -x
2+ set -e
3+
4+ export LC_ALL=C
5+
6+ source /common.sh
7+ install_cleanup_trap
8+
9+ # if we already have the octopi.txt file updated, we don't need to do anything
10+ grep -q 'from octoprint._version import' /home/pi/scripts/welcome || exit 0
11+
12+ sed -i 's#^_OCTOPRINT_VERSION=.*$#_OCTOPRINT_VERSION=$($HOME/oprint/bin/python -c "from octoprint.util.version import get_octoprint_version_string; print(get_octoprint_version_string())" || echo "unknown")#' /home/pi/scripts/welcome
You can’t perform that action at this time.
0 commit comments