Files
ArduinoJson/extras/scripts/get-release-page.sh
2023-07-23 18:08:54 +02:00

19 lines
276 B
Bash
Executable File

#!/bin/bash
set -eu
VERSION="$1"
CHANGELOG="$2"
ARDUINOJSON_H="$3"
cat << END
---
branch: v6
version: $VERSION
date: '$(date +'%Y-%m-%d')'
$(extras/scripts/wandbox/publish.sh "$ARDUINOJSON_H")
---
$(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' "$CHANGELOG")
END