diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index fc6855d..5b78bcb 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -22,18 +22,12 @@ jobs: with: pio-environment-list: '["basicUsage", "infoPage"]' - PlatformIO-Package: - if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'master') }} + PlatformIO-PackageAndPublish: + name: PIO - Package and Publish on Tag + if: ${{ (github.ref_type == 'tag') || (github.ref_name == 'main') }} needs: PlatformIO-Build uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main with: - should-publish: false - - PlatformIO-Publish: - uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main - if: github.ref_type == 'tag' - needs: PlatformIO-Build - with: - should-publish: true + should-publish: ${{ github.ref_type == 'tag' }} secrets: pio-registry-token: ${{ secrets.PIO_MKTSW_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f542b14..6f91027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0] + +### Changed + - Moved to stable UPT Core 1.0.0 + ## [0.2.2] ### Fixed diff --git a/library.properties b/library.properties index 24ec61d..2da7e0a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Sensirion UPT Display -version=0.2.2 +version=0.3.0 author=Maximilian Paulsen, Quentin Fisch maintainer=Sensirion AG sentence=Easily display UPT measurements on compatible hardware. @@ -8,4 +8,4 @@ category=Display architectures=esp32 url=https://github.com/Sensirion/arduino-upt-display includes=SensirionUptDisplay.h -depends=Sensirion Core, Sensirion UPT Core (>=0.9.4), TFT_eSPI +depends=Sensirion Core, Sensirion UPT Core (>=1.0.0 && <2.0.0), TFT_eSPI diff --git a/platformio.ini b/platformio.ini index 5da1f5e..6935d30 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,7 +14,7 @@ default_envs = basicUsage lib_deps_builtin = TFT_eSPI@^2.5.43 lib_deps_external = - Sensirion/Sensirion UPT Core@^0.9.5 + Sensirion/Sensirion UPT Core@^1.0.0 basicusage_srcdir = ${PROJECT_DIR}/examples/basicUsage/ infopage_srcdir = ${PROJECT_DIR}/examples/infoPage/