File tree 3 files changed +51
-15
lines changed
3 files changed +51
-15
lines changed Original file line number Diff line number Diff line change 1
- #ifndef ARDUINO_ESP8266_GIT_VER
2
- #define ARDUINO_ESP8266_GIT_VER 0x00000000
3
- #endif
4
-
5
- #ifndef ARDUINO_ESP8266_GIT_DESC
6
- #define ARDUINO_ESP8266_GIT_DESC unspecified
7
- #endif
8
-
9
- // ARDUINO_ESP8266_RELEASE is defined for released versions as a string containing the version name, i.e. "2_3_0_RC1"
10
- // ARDUINO_ESP8266_RELEASE is used in the core internally. Please use ESP.getCoreVersion() function instead.
11
-
12
- // ARDUINO_ESP8266_RELEASE_<version number> are defined for releases, for use in #ifdef... constructs
1
+ #define ARDUINO_ESP8266_GIT_VER 0x7a56c6f4
2
+ #define ARDUINO_ESP8266_GIT_DESC 2.7.2-247-g7a56c6f4
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " framework-arduinoespressif8266" ,
3
- "description" : " Arduino Wiring-based Framework (ESP8266 Core)" ,
4
- "url" : " https://github.com/esp8266/Arduino" ,
5
- "version" : " 3.0.0-dev"
3
+ "description" : " ESP8266 Core - Current git version snapshot + some patches" ,
4
+ "version" : " 3.0.0-git7a56c6f4" ,
5
+ "repository" : {
6
+ "type" : " git" ,
7
+ "url" : " https://github.com/mcspr/arduino-esp8266" ,
8
+ "branch" : " 7a56c6f4"
9
+ }
6
10
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -x -e -v
4
+
5
+ git restore --source HEAD -- cores/esp8266/core_version.h
6
+ git restore --source HEAD -- package.json
7
+
8
+ version=$( git rev-parse --short=8 HEAD)
9
+ desc=$( git describe --tags)
10
+
11
+ cat << EOF > package.json
12
+ {
13
+ "name": "framework-arduinoespressif8266",
14
+ "description": "ESP8266 Core - Current git version snapshot + some patches",
15
+ "version": "3.0.0-git${version} ",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/mcspr/arduino-esp8266",
19
+ "branch": "${version} "
20
+ }
21
+ }
22
+ EOF
23
+
24
+ cat << EOF > cores/esp8266/core_version.h
25
+ #define ARDUINO_ESP8266_GIT_VER 0x$version
26
+ #define ARDUINO_ESP8266_GIT_DESC $desc
27
+ EOF
28
+
29
+ zip -v -r framework-arduinoespressif8266-git$version .zip . \
30
+ -x " framework-arduinoespressif8266-git$version .zip" \
31
+ -x ' .gitignore' \
32
+ -x ' .gitmodules' \
33
+ -x ' .git/*' \
34
+ -x ' doc/*' \
35
+ -x ' package/*' \
36
+ -x ' tools/esptool/*' \
37
+ -x ' tools/pyserial/*' \
38
+ -x ' **/doc/*' \
39
+ -x ' **/.git/*' \
40
+ -x ' **/.github/*' \
41
+ -x ' **/.gitignore' \
42
+ -x ' **/.gitmodules'
You can’t perform that action at this time.
0 commit comments