File tree Expand file tree Collapse file tree 6 files changed +51
-34
lines changed Expand file tree Collapse file tree 6 files changed +51
-34
lines changed Original file line number Diff line number Diff line change 1
1
ArduinoJson: change log
2
2
=======================
3
3
4
- HEAD
5
- ----
4
+ v6.3.0-beta (2018-08-31)
5
+ -----------
6
6
7
7
* Implemented reference semantics for ` JsonVariant `
8
8
* Replace ` JsonPair ` 's ` key ` and ` value ` with ` key() ` and ` value() `
Original file line number Diff line number Diff line change 7
7
"type" : " git" ,
8
8
"url" : " https://github.com/bblanchon/ArduinoJson.git"
9
9
},
10
- "version" : " 6.2.3 -beta" ,
10
+ "version" : " 6.3.0 -beta" ,
11
11
"authors" : {
12
12
"name" : " Benoit Blanchon" ,
13
13
"url" : " https://blog.benoitblanchon.fr"
Original file line number Diff line number Diff line change 1
1
name =ArduinoJson
2
- version =6.2.3 -beta
2
+ version =6.3.0 -beta
3
3
author =Benoit Blanchon <blog.benoitblanchon.fr>
4
4
maintainer =Benoit Blanchon <blog.benoitblanchon.fr>
5
5
sentence =An efficient and elegant JSON library for Arduino.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -eux
4
+
5
+ cd " $( dirname " $0 " ) /.."
6
+
7
+ VERSION=" $1 "
8
+ DATE=$( date +%F)
9
+ TAG=" v$VERSION "
10
+
11
+ update_version_in_source () {
12
+ IFS=" .-" read MAJOR MINOR REVISION EXTRA < <( echo " $VERSION " )
13
+ UNDERLINE=$( printf -- ' -%.0s' $( seq 1 ${# TAG} ) )
14
+
15
+ sed -i~ -bE " 4s/HEAD/$TAG ($DATE )/; 5s/-+/$UNDERLINE /" CHANGELOG.md
16
+ rm CHANGELOG.md* ~
17
+ sed -i~ -bE " s/\" version\" :.*$/\" version\" : \" $VERSION \" ,/" library.json
18
+ rm library.json* ~
19
+
20
+ sed -i~ -bE " s/version=.*$/version=$VERSION /" library.properties
21
+ rm library.properties* ~
22
+
23
+ sed -i~ -bE \
24
+ -e " s/ARDUINOJSON_VERSION .*$/ARDUINOJSON_VERSION \" $VERSION \" /" \
25
+ -e " s/ARDUINOJSON_VERSION_MAJOR .*$/ARDUINOJSON_VERSION_MAJOR $MAJOR /" \
26
+ -e " s/ARDUINOJSON_VERSION_MINOR .*$/ARDUINOJSON_VERSION_MINOR $MINOR /" \
27
+ -e " s/ARDUINOJSON_VERSION_REVISION .*$/ARDUINOJSON_VERSION_REVISION $REVISION /" \
28
+ src/ArduinoJson/version.hpp
29
+ rm src/ArduinoJson/version.hpp* ~
30
+ }
31
+
32
+ commit_new_version () {
33
+ git add src/ArduinoJson/version.hpp CHANGELOG.md library.json library.properties
34
+ git commit -m " Set version to $VERSION "
35
+ }
36
+
37
+ add_tag () {
38
+ CHANGES=$( awk ' /\* /{ FOUND=1; print; next } { if (FOUND) exit}' CHANGELOG.md)
39
+ git tag -m " ArduinoJson $VERSION \n$CHANGES " $TAG
40
+ }
41
+
42
+ update_version_in_source
43
+ commit_new_version
44
+ add_tag
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
5
5
#pragma once
6
6
7
- #define ARDUINOJSON_VERSION " 6.2.3 -beta"
7
+ #define ARDUINOJSON_VERSION " 6.3.0 -beta"
8
8
#define ARDUINOJSON_VERSION_MAJOR 6
9
- #define ARDUINOJSON_VERSION_MINOR 2
10
- #define ARDUINOJSON_VERSION_REVISION 3
9
+ #define ARDUINOJSON_VERSION_MINOR 3
10
+ #define ARDUINOJSON_VERSION_REVISION 0
You can’t perform that action at this time.
0 commit comments