8000 Scripts: call `wandbox/publish.sh` from `get-release-page.sh` · smartcoder00/ArduinoJson@371fa46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 371fa46

Browse files
committed
Scripts: call wandbox/publish.sh from get-release-page.sh
1 parent 7eec01c commit 371fa46

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

extras/scripts/get-release-page.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ set -eu
44

55
VERSION="$1"
66
CHANGELOG="$2"
7-
FRONTMATTER="$3"
7+
ARDUINOJSON_H="$3"
88

99
cat << END
1010
---
1111
branch: v6
1212
version: $VERSION
1313
date: '$(date +'%Y-%m-%d')'
14-
$(cat "$FRONTMATTER")
14+
$(extras/scripts/wandbox/publish.sh "$ARDUINOJSON_H")
1515
---
1616
1717
$(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' "$CHANGELOG")

extras/scripts/publish.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ push
7373
extras/scripts/build-arduino-package.sh . "../ArduinoJson-$TAG.zip"
7474
extras/scripts/build-single-header.sh "src/ArduinoJson.h" "../ArduinoJson-$TAG.h"
7575
extras/scripts/build-single-header.sh "src/ArduinoJson.hpp" "../ArduinoJson-$TAG.hpp"
76-
extras/scripts/wandbox/publish.sh "../ArduinoJson-$TAG.h" > "../ArduinoJson-$TAG-wandbox.txt" || echo "Wandbox failed!"
77-
extras/scripts/get-release-page.sh "$VERSION" "CHANGELOG.md" "../ArduinoJson-$TAG-wandbox.txt" > "../ArduinoJson-$TAG.md"
76+
extras/scripts/get-release-page.sh "$VERSION" "CHANGELOG.md" "../ArduinoJson-$TAG.h" > "../ArduinoJson-$TAG.md"
7877

7978
echo "You can now copy ../ArduinoJson-$TAG.md into arduinojson.org/collections/_versions/$VERSION.md"

0 commit comments

Comments
 (0)
0