Skip to content

Commit

Permalink
add hostname and change release title and img name
Browse files Browse the repository at this point in the history
  • Loading branch information
jneilliii committed Nov 14, 2021
1 parent 84e0d65 commit 26f97cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/custopize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
OCTOPI_VERSION="${{ steps.octopi_latestrelease.outputs.release }}"
OCTOPRINT_VERSION="${{ env.OCTOPRINT_VERSION }}"
IMAGE="octopi-$OCTOPI_VERSION-octoprint-$OCTOPRINT_VERSION-simplyprint-${{ steps.simplyprint_version.outputs.release }}.img"
IMAGE="SimplyPi-${{ steps.octopi_latestrelease.outputs.release }}-sp${{ steps.simplyprint_version.outputs.release }}-octoprint${{ env.OCTOPRINT_VERSION }}.img"
echo "IMAGE=$IMAGE" >> $GITHUB_ENV
cd build
Expand All @@ -90,7 +90,7 @@ jobs:
- name: "📝 Prepare release"
run: |
RELEASE_NAME="OctoPi ${{ steps.octopi_latestrelease.outputs.release }} with OctoPrint ${{ env.OCTOPRINT_VERSION }} and SimplyPrint ${{ steps.simplyprint_version.outputs.release }}"
RELEASE_NAME="SimplyPi with OctoPrint ${{ env.OCTOPRINT_VERSION }}, SimplyPrint ${{ steps.simplyprint_version.outputs.release }} (based on OctoPi ${{ steps.octopi_latestrelease.outputs.release }})"
echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_ENV
RELEASE_TAG="${{ steps.octopi_latestrelease.outputs.release }}.op${{ env.OCTOPRINT_VERSION }}.sp${{ steps.simplyprint_version.outputs.release }}"
Expand Down
9 changes: 9 additions & 0 deletions scripts/05-update-hostname
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set -x
set -e

export LC_ALL=C

source /common.sh
install_cleanup_trap

echo "simplypi" > /boot/octopi-hostname.txt

0 comments on commit 26f97cb

Please sign in to comment.