diff --git a/.github/workflows/release.yaml b/.github/workflows/publish.yaml similarity index 65% rename from .github/workflows/release.yaml rename to .github/workflows/publish.yaml index 78c538f7..27803122 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/publish.yaml @@ -20,14 +20,14 @@ jobs: channel: 'stable' - name: Setup credentials run: | - mkdir -p ~/.pub-cache - cat < ~/.pub-cache/credentials.json + mkdir -p $FLUTTER_HOME/.pub-cache + cat < $FLUTTER_HOME/.pub-cache/credentials.json { - "accessToken":"${{ secrets.OAUTH_ACCESS_TOKEN }}", - "refreshToken":"${{ secrets.OAUTH_REFRESH_TOKEN }}", - "tokenEndpoint":"https://accounts.google.com/o/oauth2/token", + "accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}", + "refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}", + "tokenEndpoint":"${{ secrets.PUB_DEV_PUBLISH_TOKEN_ENDPOINT }}", "scopes": [ "openid", "https://www.googleapis.com/auth/userinfo.email" ], - "expiration": 1593616628458 + "expiration": ${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }} } EOF - name: Install dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index 00f2a44b..3a744f61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.7.1+3 + +* Setting up plugin CI/CD + ## 2.7.1+2 * Added indexes diff --git a/pubspec.yaml b/pubspec.yaml index dba116c7..4735f8b7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: couchbase_lite description: Flutter plugin for Couchbase Lite Community Edition, an embedded lightweight, noSQL database with live synchronization and offline support on Android and iOS. -version: 2.7.1+2 +version: 2.7.1+3 homepage: https://github.com/SaltechSystems/couchbase_lite environment: