You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|
|
|