mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update workflow
This commit is contained in:
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Extract version from file
|
- name: Extract version from file
|
||||||
id: get_version
|
id: get_version
|
||||||
@ -62,9 +62,10 @@ jobs:
|
|||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
prerelease: false
|
||||||
|
generate_release_notes: true
|
||||||
|
tag_name: v${{ env.VERSION }}
|
||||||
name: Pwnagotchi v${{ env.VERSION }}
|
name: Pwnagotchi v${{ env.VERSION }}
|
||||||
token: ${{ secrets.TOKEN }}
|
|
||||||
files: |
|
files: |
|
||||||
pwnagotchi-${{ env.VERSION }}-32bit.img.xz
|
pwnagotchi-${{ env.VERSION }}-32bit.img.xz
|
||||||
pwnagotchi-${{ env.VERSION }}-64bit.img.xz
|
pwnagotchi-${{ env.VERSION }}-64bit.img.xz
|
||||||
|
1
Makefile
1
Makefile
@ -46,6 +46,7 @@ packer:
|
|||||||
sudo mv /tmp/packer /usr/bin/packer
|
sudo mv /tmp/packer /usr/bin/packer
|
||||||
|
|
||||||
image: clean 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
|
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
|
bullseye: clean packer
|
||||||
|
Reference in New Issue
Block a user