Skip to content

Commit 1c7772f

Browse files
committed
Merge remote-tracking branch 'origin' into example/gps-tracker
2 parents db0c79e + 8f54e41 commit 1c7772f

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,17 @@
6060
* Fix a bug where HTTP requests would make the modem hang
6161
* Add a temporary fix for a bug where the modem would not respond during MQTT publish and receive
6262
* Fix a bug where retrieving the modem clock would fail
63+
64+
# 1.2.1
65+
66+
## Changes
67+
68+
* Update library name in library.properties file
69+
70+
## Bugfixes
71+
72+
* Fix dependency error in library.properties file
73+
74+
# 1.2.2
75+
76+
No changes

Jenkinsfilek8s

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@
5353

5454
stage('linter') {
5555
steps {
56-
sh 'arduino-lint --library-manager submit --compliance strict'
56+
sh 'arduino-lint --compliance strict'
57+
script {
58+
env.DEP_ERROR = getDependencyError()
59+
if (env.DEP_ERROR != '') {
60+
error("LP048 error: depends field item(s) not found")
61+
}
62+
}
5763
}
5864
}
5965

@@ -138,4 +144,9 @@
138144
def initializeGitForDeployment() {
139145
execute("git config --global user.email 'microchip@microchip.com'")
140146
execute("git config --global user.name 'Microchip Technology'")
141-
}
147+
}
148+
149+
String getDependencyError() {
150+
return sh(script: "! arduino-lint --compliance strict --format json | grep LP048", returnStdout: true)?.trim()
151+
// return sh(script: "! arduino-lint --compliance strict --format json | grep LP048", returnStdout: true)?.trim()
152+
}

library.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name=avr-iot-cellular
2-
version=1.2.0
1+
name=AVR-IoT-Cellular
2+
version=1.2.2
33
author=Microchip Technology Inc. <simen.gangstad@microchip.com>
44
maintainer=Microchip Technology Inc. <simen.gangstad@microchip.com>
55
sentence=Library for the AVR-IoT Cellular Mini Board
6-
paragraph=Supports HTTP(S), MQTT(S), Low Power and more.
6+
paragraph=Supports HTTP(S), MQTT(S), Low Power and more. Dependent on AVR-IoT MCP9808, AVR-IoT VEML3328 and DxCore
77
category=Communication
88
url=https://iot.microchip.com/docs
99
architectures=*
10-
depends=DxCore
10+
depends=AVR-IoT MCP9808, veml3328
1111
precompiled=true

0 commit comments

Comments
 (0)