CI: added a workflow to create a release when matching tag is pushed

This commit is contained in:
Benoit Blanchon
2021-07-16 10:13:54 +02:00
parent 67d0931c19
commit f02a699c26
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/bin/bash
set -eu
TAG="$1"
CHANGELOG="$2"
cat << END
## Changes
$(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' "$CHANGELOG")
[View version history](https://github.com/bblanchon/ArduinoJson/blob/$TAG/CHANGELOG.md)
END