diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c62979c..0041c3fe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Extract version from file id: get_version @@ -62,9 +62,10 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 with: - tag_name: ${{ env.VERSION }} + prerelease: false + generate_release_notes: true + tag_name: v${{ env.VERSION }} name: Pwnagotchi v${{ env.VERSION }} - token: ${{ secrets.TOKEN }} files: | pwnagotchi-${{ env.VERSION }}-32bit.img.xz pwnagotchi-${{ env.VERSION }}-64bit.img.xz diff --git a/Makefile b/Makefile index e5eec4e4..92875ef7 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,7 @@ packer: sudo mv /tmp/packer /usr/bin/packer image: clean packer + export=LC_ALL=en_GB.utf-8 cd builder && sudo /usr/bin/packer init combined.json.pkr.hcl && sudo $(UNSHARE) /usr/bin/packer build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" combined.json.pkr.hcl bullseye: clean packer