Skip to content

Commit c87370e

Browse files
fix release yaml
1 parent 1b2dfa3 commit c87370e

File tree

1 file changed

+4
-66
lines changed

1 file changed

+4
-66
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,10 @@ jobs:
165165
file=$(find . -type f -name 'Dappnode-ubuntu-*unattended.iso')
166166
SHASUM_UBUNTU_UNATTENDED=$(shasum -a 256 $file)
167167
echo "::set-output name=SHASUM_UBUNTU_UNATTENDED::$SHASUM_UBUNTU_UNATTENDED"
168-
169-
# ARTIFACTS ASSETS
168+
- name: Write release content
169+
run: |
170+
echo "# Versions | Package | Version | |---------------------------------|-----------------------| | bind.dnp.dappnode.eth | ${BIND_VERSION} | | ipfs.dnp.dappnode.eth | ${IPFS_VERSION} | | vpn.dnp.dappnode.eth | ${VPN_VERSION} | | dappmanager.dnp.dappnode.eth | ${DAPPMANAGER_VERSION}| | wifi.dnp.dappnode.eth | ${WIFI_VERSION} | | https.dnp.dappnode.eth | ${HTTPS_VERSION} | | wireguard.dnp.dappnode.eth | ${WIREGUARD_VERSION} | # Changes Changes implemented in release ${CORE_VERSION} # Debian Attended Install and customize Dappnode using the Debian attended ISO: **Dappnode-${CORE_VERSION}-debian-bookworm-amd64.iso** ## ISO SHA-256 Checksum \`\`\` ${{ steps.shasum-debian-attended.outputs.SHASUM_DEBIAN_ATTENDED }} \`\`\` # Debian Unattended Install Debian unattended ISO: **Dappnode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso** Reboot right after installation. :warning: **Warning**: This will install Dappnode automatically, wiping all partitions. ## ISO SHA-256 Checksum \`\`\` ${{ steps.shasum-debian-unattended.outputs.SHASUM_DEBIAN_UNATTENDED }} \`\`\` # Ubuntu Attended Install using the Ubuntu attended ISO: **Dappnode-${CORE_VERSION}-ubuntu-bookworm-amd64.iso** ## ISO SHA-256 Checksum \`\`\` ${{ steps.shasum-ubuntu-attended.outputs.SHASUM_UBUNTU_ATTENDED }} \`\`\` # Ubuntu Unattended Install using the Ubuntu unattended ISO: **Dappnode-${CORE_VERSION}-ubuntu-bookworm-amd64-unattended.iso** ## ISO SHA-256 Checksum \`\`\` ${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }} \`\`\` # Dappnode for Raspberry Pi 4 (64-bit) [Installation guide →](https://github.com/dappnode/DAppNode/wiki/DAppNodeARM-Installation-Guide) **Default login:** - __user__: dappnode - __password__: dappnodepi" > CHANGELOG.md
171+
cat CHANGELOG.md
170172
- name: Artifact
171173
uses: actions/upload-artifact@v3
172174
with:
@@ -182,75 +184,11 @@ jobs:
182184
183185
env:
184186
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185-
186187
- name: Check git diff
187188
id: git_diff
188189
run: |
189190
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'
190191
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-
254192
- name: Create pre-release
255193
uses: softprops/action-gh-release@v2
256194
with:

0 commit comments

Comments
 (0)