Skip to content

Commit f285848

Browse files
add release body
1 parent d02e5a2 commit f285848

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

.github/workflows/release.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,85 @@ jobs:
188188
run: |
189189
git diff --no-index --word-diff-regex=[^[:space:]] --no-patch .dappnode_profile && echo '::set-output name=HAS_CHANGED::true' || echo '::set-output name=HAS_CHANGED::false'
190190
191+
# … your existing "Artifact" upload-artifact@v3 step here …
192+
193+
# Generate CHANGELOG.md just like before,
194+
- name: Write release content
195+
run: |
196+
cat > CHANGELOG.md <<EOF
197+
# Versions
198+
| Package | Version |
199+
|---------------------------------|-----------------------|
200+
| bind.dnp.dappnode.eth | ${BIND_VERSION} |
201+
| ipfs.dnp.dappnode.eth | ${IPFS_VERSION} |
202+
| vpn.dnp.dappnode.eth | ${VPN_VERSION} |
203+
| dappmanager.dnp.dappnode.eth | ${DAPPMANAGER_VERSION}|
204+
| wifi.dnp.dappnode.eth | ${WIFI_VERSION} |
205+
| https.dnp.dappnode.eth | ${HTTPS_VERSION} |
206+
| wireguard.dnp.dappnode.eth | ${WIREGUARD_VERSION} |
207+
208+
# Changes
209+
Changes implemented in release ${CORE_VERSION}
210+
211+
# Debian Attended
212+
Install and customize Dappnode using the Debian attended ISO: **Dappnode-${CORE_VERSION}-debian-bookworm-amd64.iso**
213+
214+
## ISO SHA-256 Checksum
215+
\`\`\`
216+
${{ steps.shasum-debian-attended.outputs.SHASUM_DEBIAN_ATTENDED }}
217+
\`\`\`
218+
219+
# Debian Unattended
220+
Install Debian unattended ISO: **Dappnode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso**
221+
Reboot right after installation.
222+
:warning: **Warning**: This will install Dappnode automatically, wiping all partitions.
223+
224+
## ISO SHA-256 Checksum
225+
\`\`\`
226+
${{ steps.shasum-debian-unattended.outputs.SHASUM_DEBIAN_UNATTENDED }}
227+
\`\`\`
228+
229+
# Ubuntu Attended
230+
Install using the Ubuntu attended ISO: **Dappnode-${CORE_VERSION}-ubuntu-bookworm-amd64.iso**
231+
232+
## ISO SHA-256 Checksum
233+
\`\`\`
234+
${{ steps.shasum-ubuntu-attended.outputs.SHASUM_UBUNTU_ATTENDED }}
235+
\`\`\`
236+
237+
# Ubuntu Unattended
238+
Install using the Ubuntu unattended ISO: **Dappnode-${CORE_VERSION}-ubuntu-bookworm-amd64-unattended.iso**
239+
240+
## ISO SHA-256 Checksum
241+
\`\`\`
242+
${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }}
243+
\`\`\`
244+
245+
# Dappnode for Raspberry Pi 4 (64-bit)
246+
[Installation guide →](https://github.com/dappnode/DAppNode/wiki/DAppNodeARM-Installation-Guide)
247+
248+
**Default login:**
249+
- __user__: dappnode
250+
- __password__: dappnodepi
251+
EOF
252+
cat CHANGELOG.md
253+
254+
- name: Create pre-release
255+
uses: softprops/action-gh-release@v2
256+
with:
257+
tag_name: ${{ github.event.inputs.core }}
258+
prerelease: true
259+
files: |
260+
./Dappnode-${CORE_VERSION}-debian-*.iso
261+
./Dappnode-${CORE_VERSION}-debian-*-unattended.iso
262+
./Dappnode-${CORE_VERSION}-ubuntu-*.iso
263+
./Dappnode-${CORE_VERSION}-ubuntu-*-unattended.iso
264+
./scripts/dappnode_install*.sh
265+
dappnode_profile.sh
266+
body_path: CHANGELOG.md
267+
env:
268+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
269+
191270
- name: Create Pull Request
192271
if: steps.git_diff.outputs.HAS_CHANGED == 'true'
193272
uses: peter-evans/create-pull-request@v5

0 commit comments

Comments
 (0)