From be744a69eb3b56d5cda1831b452da659dc3319e4 Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Wed, 1 May 2024 10:08:25 +0200 Subject: [PATCH 1/2] chore: switch to automated publishing workflow --- .github/workflows/publish.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 00000000..2bd6e16f --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,13 @@ +name: Publish to pub.dev + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+*' + +# Publish using the reusable workflow from dart-lang. +jobs: + publish: + permissions: + id-token: write # Required for authentication using OIDC + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 From 8094c8cf1501f0fff6b9ad0fa4935db75e673905 Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Wed, 1 May 2024 10:09:34 +0200 Subject: [PATCH 2/2] chore(CHANGELOG.md): update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41e964f8..8d950b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Switched to the automated publishing workflow on pub.dev ([#118](https://github.com/eclipse-thingweb/dart_wot/pull/118)) - Switched to the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format for new changelog entries ([#115](https://github.com/eclipse-thingweb/dart_wot/pull/115)) - Adjusted the main example to also use HTTP and CoAP observe ([#101](https://github.com/eclipse-thingweb/dart_wot/pull/101)) - Adjusted the link to the initial release in the changelog ([#119](https://github.com/eclipse-thingweb/dart_wot/pull/119))