Skip to content

Commit 4877879

Browse files
authored
Merge pull request #22 from Sensirion/updateUPTcore
Update to UPT core 1.0
2 parents 68558b4 + a92c183 commit 4877879

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/platformio.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,24 @@ on:
1212

1313
jobs:
1414
PlatformIO-Check:
15+
name: PIO - Checks
1516
uses: sensirion/.github/.github/workflows/upt.platformio.check.yml@main
1617
with:
1718
pio-environment-list: '["selfManagedWifiUsage", "delegatedWifiUsage"]'
1819

1920
PlatformIO-Build:
21+
name: PIO - Build
2022
uses: sensirion/.github/.github/workflows/upt.platformio.build.yml@main
2123
needs: PlatformIO-Check
2224
with:
2325
pio-environment-list: '["selfManagedWifiUsage", "delegatedWifiUsage"]'
2426

25-
PlatformIO-Package:
26-
if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'master') }}
27+
PlatformIO-PackageAndPublish:
28+
name: PIO - Package and Publish on Tag
29+
if: ${{ (github.ref_type == 'tag') || (github.ref_name == 'main') }}
2730
needs: PlatformIO-Build
2831
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
2932
with:
30-
should-publish: false
31-
32-
PlatformIO-Publish:
33-
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
34-
if: github.ref_type == 'tag'
35-
needs: PlatformIO-Build
36-
with:
37-
should-publish: true
33+
should-publish: ${{ github.ref_type == 'tag' }}
3834
secrets:
3935
pio-registry-token: ${{ secrets.PIO_MKTSW_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### 0.2.1
10+
## 0.3.0
11+
### Changed
12+
- Moved to stable UPT Core 1.0.0
1113

12-
- Updates to make it compile with arduino upt core 0.9
14+
## 0.2.1
15+
### Changed
16+
- Refactor for compilation with arduino UPT core 0.9
1317

1418
## 0.1.0
1519

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Sensirion UPT MQTT Client
2-
version=0.2.1
2+
version=0.3.0
33
author=Maximilian Paulsen, Sensirion AG
44
maintainer=Sensirion AG <sensirion.com>
55
sentence=Send UPT Measurements to an MQTT broker
@@ -8,4 +8,4 @@ category=Communication
88
url=https://github.com/Sensirion/arduino-upt-mqtt-client
99
architectures=esp32
1010
includes=MqttMailingService.h
11-
depends=Sensirion UPT Core (=0.9.4)
11+
depends=Sensirion UPT Core (>=1.0.0 && <2.0.0)

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extra_scripts =
2323
pre:py_scripts/make_cpp_files.py
2424
lib_deps =
2525
${common.lib_deps_builtin}
26-
sensirion/Sensirion UPT Core@^0.9.4
26+
sensirion/Sensirion UPT Core@^1.0.0
2727
lib_extra_dirs =
2828
${PROJECT_DIR}/src/*
2929
check_tool = cppcheck, clangtidy

0 commit comments

Comments
 (0)