diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4b54bd0..a03a9c4 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,11 +9,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: subosito/flutter-action@v1.1.1 - - run: cd $FLUTTER_HOME - - run: cd .. - - run: pwd - - run: mkdir -p .pub-cache - - run: echo '{"accessToken":"${{secrets.accessToken}}","refreshToken":"${{secrets.refreshToken}},"tokenEndpoint":"https://accounts.google.com/o/oauth2/token","scopes":["openid","https://www.googleapis.com/auth/userinfo.email"], "expiration":${{secrets.expiration}}}' > .pub-cache/credentials.json - - run: cd $GITHUB_WORKSPACE - - run: flutter pub publish -f \ No newline at end of file + - uses: sakebook/actions-flutter-pub-publisher@v1.2.1 + with: + credential: ${{secrets.CREDENTIAL_JSON}} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ce53bde..c308208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.1.5 +## 0.1.6 * Some more work behind the scenes in the repository, like configuring CI/CD. diff --git a/android/build.gradle b/android/build.gradle index 53d4b59..2eca077 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.oakam.launchdarkly_flutter' -version '0.1.5' +version '0.1.6' buildscript { repositories { diff --git a/ios/launchdarkly_flutter.podspec b/ios/launchdarkly_flutter.podspec index 9e3eabe..1756b1e 100644 --- a/ios/launchdarkly_flutter.podspec +++ b/ios/launchdarkly_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'launchdarkly_flutter' - s.version = '0.1.5' + s.version = '0.1.6' s.summary = 'A Flutter LaunchDarkly SDK.' s.description = <<-DESC This is an unofficial LaunchDarkly SDK for Flutter, for anyone willing to use LaunchDarkly in a Flutter app. diff --git a/pubspec.yaml b/pubspec.yaml index e49bac3..de32344 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: launchdarkly_flutter description: This is an unofficial LaunchDarkly SDK for Flutter, for anyone willing to use LaunchDarkly in a Flutter app. -version: 0.1.5 +version: 0.1.6 homepage: https://github.com/andre-paraense/launchdarkly_flutter issue_tracker: https://github.com/andre-paraense/launchdarkly_flutter/issues