Added date in change log

This commit is contained in:
Benoit Blanchon
2018-08-31 16:38:42 +02:00
parent e3639918eb
commit 58303d0837
2 changed files with 10 additions and 9 deletions

View File

@ -52,23 +52,23 @@ HEAD
> >
> CAUTION: the key is now read only! > CAUTION: the key is now read only!
v6.2.3-beta v6.2.3-beta (2018-07-19)
----------- -----------
* Fixed exception when using Flash strings as object keys (issue #784) * Fixed exception when using Flash strings as object keys (issue #784)
v6.2.2-beta v6.2.2-beta (2018-07-18)
----------- -----------
* Fixed `invalid application of 'sizeof' to incomplete type '__FlashStringHelper'` (issue #783) * Fixed `invalid application of 'sizeof' to incomplete type '__FlashStringHelper'` (issue #783)
* Fixed `char[]` not duplicated when passed to `JsonVariant::operator[]` * Fixed `char[]` not duplicated when passed to `JsonVariant::operator[]`
v6.2.1-beta v6.2.1-beta (2018-07-17)
----------- -----------
* Fixed `JsonObject` not inserting keys of type `String` (issue #782) * Fixed `JsonObject` not inserting keys of type `String` (issue #782)
v6.2.0-beta v6.2.0-beta (2018-07-12)
----------- -----------
* Disabled lazy number deserialization (issue #772) * Disabled lazy number deserialization (issue #772)
@ -97,7 +97,7 @@ v6.2.0-beta
> object["values"] = serialized("[1,2,3,4]"); > object["values"] = serialized("[1,2,3,4]");
> ``` > ```
v6.1.0-beta v6.1.0-beta (2018-07-02)
----------- -----------
* Return `JsonArray` and `JsonObject` by value instead of reference (issue #309) * Return `JsonArray` and `JsonObject` by value instead of reference (issue #309)
@ -127,12 +127,12 @@ v6.1.0-beta
> } > }
> ``` > ```
v6.0.1-beta v6.0.1-beta (2018-06-11)
----------- -----------
* Fixed conflicts with `isnan()` and `isinf()` macros (issue #752) * Fixed conflicts with `isnan()` and `isinf()` macros (issue #752)
v6.0.0-beta v6.0.0-beta (2018-06-07)
----------- -----------
* Added `DynamicJsonDocument` and `StaticJsonDocument` * Added `DynamicJsonDocument` and `StaticJsonDocument`

View File

@ -1,15 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eux set -eu
cd "$(dirname $0)/.." cd "$(dirname $0)/.."
VERSION="$1" VERSION="$1"
DATE=$(date +%F)
IFS=".-" read MAJOR MINOR REVISION EXTRA < <(echo "$VERSION") IFS=".-" read MAJOR MINOR REVISION EXTRA < <(echo "$VERSION")
TAG="v$VERSION" TAG="v$VERSION"
UNDERLINE=$(printf -- '-%.0s' $(seq 1 ${#TAG})) UNDERLINE=$(printf -- '-%.0s' $(seq 1 ${#TAG}))
sed -i~ -bE "4s/HEAD/$TAG/; 5s/-+/$UNDERLINE/" CHANGELOG.md sed -i~ -bE "4s/HEAD/$TAG ($DATE)/; 5s/-+/$UNDERLINE/" CHANGELOG.md
rm CHANGELOG.md*~ rm CHANGELOG.md*~
sed -i~ -bE "s/\"version\":.*$/\"version\": \"$VERSION\",/" library.json sed -i~ -bE "s/\"version\":.*$/\"version\": \"$VERSION\",/" library.json
rm library.json*~ rm library.json*~