File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -eu
4
+
5
+ TAG=" $1 "
6
+ CHANGELOG=" $2 "
7
+ FRONTMATTER=" $3 "
8
+
9
+ cat << END
10
+ ---
11
+ branch: v6
12
+ version: $TAG
13
+ date: '$( date +' %Y-%m-%d' ) '
14
+ $( cat " $FRONTMATTER " )
15
+ ---
16
+
17
+ $( awk ' /\* /{ FOUND=1; print; next } { if (FOUND) exit}' " $CHANGELOG " )
18
+ END
Original file line number Diff line number Diff line change 62
62
extras/scripts/build-arduino-package.sh . " ../ArduinoJson-$TAG .zip"
63
63
extras/scripts/build-single-header.sh " src/ArduinoJson.h" " ../ArduinoJson-$TAG .h"
64
64
extras/scripts/build-single-header.sh " src/ArduinoJson.hpp" " ../ArduinoJson-$TAG .hpp"
65
- extras/scripts/wandbox/publish.sh " ../ArduinoJson-$TAG .h"
65
+ extras/scripts/wandbox/publish.sh " ../ArduinoJson-$TAG .h" > " ../ArduinoJson-$TAG -wandbox.txt"
66
+ extras/scripts/get-release-page.sh " $TAG " " CHANGELOG.md" " ../ArduinoJson-$TAG -wandbox.txt" > " ../ArduinoJson-$TAG .md"
67
+
68
+ echo " You can now copy ../ArduinoJson-$TAG .md into arduinojson.org/collections/_versions/$VERSION .md"
You can’t perform that action at this time.
0 commit comments