From 7a86d0c79a7631dd4e0de2f879a9e27d711d1adb Mon Sep 17 00:00:00 2001 From: Sergey Chuvashev Date: Fri, 5 Jul 2024 15:10:05 +0400 Subject: [PATCH] Added github workflow for auto publishing to pub.dev --- .github/workflows/publish.yml | 12 ++++++++++++ README.md | 2 +- pubspec.yaml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..9117fe4 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,12 @@ +name: Publish to pub.dev + +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+*' + +jobs: + publish: + permissions: + id-token: write # Required for authentication using OIDC + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 \ No newline at end of file diff --git a/README.md b/README.md index b1120f0..8fc1222 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Updraft is built by App Agencies [Apps with love](https://appswithlove.com/) and Add this line to your pubspec.yaml file: ``` -updraft_sdk_flutter: ^0.0.1-dev4 +updraft_sdk_flutter: ^0.0.1 ``` diff --git a/pubspec.yaml b/pubspec.yaml index 4805490..8cab511 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: updraft_sdk_flutter description: "Updraft Flutter SDK project." -version: 0.0.1-dev4 +version: 0.0.1 homepage: https://github.com/appswithlove/updraft-sdk-flutter environment: