From fa8f83b3280e1a15cad598dac8fcaafb6a2d3527 Mon Sep 17 00:00:00 2001 From: Lucas SAUDON Date: Thu, 4 Jul 2024 11:12:21 +0200 Subject: [PATCH] chore: Use releascribe in CD --- .github/workflows/example_launch_cd.yaml | 9 ++++----- README.md | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/example_launch_cd.yaml b/.github/workflows/example_launch_cd.yaml index 2f14ef0..66abc9c 100644 --- a/.github/workflows/example_launch_cd.yaml +++ b/.github/workflows/example_launch_cd.yaml @@ -1,7 +1,7 @@ name: launch-continuous-delivery on: - workflow_dispatch + workflow_dispatch env: FLUTTER_VERSION: 3.22.2 @@ -9,9 +9,6 @@ env: jobs: continuous-delivery-ios: runs-on: macos-latest - defaults: - run: - working-directory: example/ios steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 @@ -20,4 +17,6 @@ jobs: channel: stable flutter-version: ${{ env.FLUTTER_VERSION }} - run: | - keychainPassword='cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1' \ No newline at end of file + dart pub global activate --source=path . + cd example + releascribe_cli release diff --git a/README.md b/README.md index 7350690..cdb5e89 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ To use `releascribe_cli`, ensure you have Dart SDK installed. You can install `releascribe_cli` globally using Dart's package manager, `pub`: ```sh -pub global activate releascribe_cli +dart pub global activate releascribe_cli ``` ## Usage