Browse Source

ci: release template

pull/2534/head
Maxim Prokhorov 1 year ago
parent
commit
00b001a1d9
2 changed files with 12 additions and 8 deletions
  1. +11
    -0
      .github/release_template.md
  2. +1
    -8
      .github/workflows/release.yml

+ 11
- 0
.github/release_template.md View File

@ -0,0 +1,11 @@
# IMPORTANT NOTICE
When updating from 1.14.1 make sure **there is enough available space on the device** (usually, "available space" rounded to the nearest 4096 byte increment) to perform the OTA upgrade. Telnet and direct HTTP upgrades with an .bin too big **will result in a bricked device**. espota.py and Web Interface upgrades will issue a warning.
Make sure to **only** perform OTA upgrade with a properly powered device. Attempting to flash and / or use a normally AC powered device (like a Sonoff) instead powered through 3v3 **may** result in unexpected issues with the firmware.
# Snapshot build
**How to upgrade "over-the-air" aka OTA**: https://github.com/xoseperez/espurna/wiki/OTA
**Latest changes**: https://github.com/xoseperez/espurna/compare/$last_tag...$tag
**CHANGELOG.md**: https://github.com/xoseperez/espurna/blob/$tag/CHANGELOG.md

+ 1
- 8
.github/workflows/release.yml View File

@ -112,19 +112,12 @@ jobs:
- name: Unpack
run: unzip -d binaries "artifacts/Binaries/*.zip"
- name: Prepare release body
run: |
echo "- [Changelog for the current binary release](https://github.com/xoseperez/espurna/blob/"${{ needs.variables.outputs.dev }}"/CHANGELOG.md)" \
> release.md
echo "- [All changes since the latest release](https://github.com/xoseperez/espurna/compare/"${{ needs.variables.outputs.master }}"..."${{ needs.variables.outputs.dev }}")" \
>> release.md
- uses: ncipollo/release-action@v1
with:
tag: github${{ needs.variables.outputs.date }}
commit: ${{ needs.variables.outputs.dev }}
name: Snapshot build (github${{ needs.variables.outputs.date }})
bodyFile: release.md
bodyFile: ".github/release_template.md"
artifacts: "binaries/*.bin"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true


Loading…
Cancel
Save