diff --git a/.github/workflows/publish_monorepo.yaml b/.github/workflows/publish_monorepo.yaml index 5861eea..4483c4a 100644 --- a/.github/workflows/publish_monorepo.yaml +++ b/.github/workflows/publish_monorepo.yaml @@ -121,12 +121,11 @@ jobs: # uses: dart-lang/setup-pub@v1 uses: flutter-actions/setup-pubdev-credentials@v1 - # - name: 🚀 Publish to pub.dev - # # The `dart-lang/setup-pub` action has already set up the authentication. - # # `--force` is used to bypass the interactive confirmation prompt in CI. - # run: flutter pub publish --force - # working-directory: ${{ steps.validate_package.outputs.working_directory }} # Crucial for specific package - # + - name: 🚀 Publish to pub.dev + # The `dart-lang/setup-pub` action has already set up the authentication. + # `--force` is used to bypass the interactive confirmation prompt in CI. + run: flutter pub publish --force + working-directory: ${{ steps.validate_package.outputs.working_directory }} # Crucial for specific package - name: 🎉 Create GitHub Release id: create_release diff --git a/packages/README.md b/packages/README.md index 1758a55..a62e3dd 100644 --- a/packages/README.md +++ b/packages/README.md @@ -9,8 +9,9 @@ 4. Run `flutter pub publish`. ## Publish automated - -1. Run `git tag packages/ui_kit/v1.0.0` -2. Run `git push origin packages/ui_kit/v1.0.0` -3. Monitor GitHub Actions: -Go to your GitHub repository's "Actions" tab. You should see your "Publish Monorepo Package to pub.dev" workflow running. Monitor its progress. If there are any errors (e.g., version mismatch, pubspec.yaml not found), the workflow will fail, and you'll get detailed logs. \ No newline at end of file +1. Publish branch to `origin`. +2. Run `git tag packages/ui_kit/v1.0.0` +3. Run `git push origin packages/ui_kit/v1.0.0` +4. Monitor GitHub Actions: +Go to your GitHub repository's "Actions" tab. You should see your "Publish Monorepo Package to pub.dev" workflow running. Monitor its progress. If there are any errors (e.g., version mismatch, pubspec.yaml not found), the workflow will fail, and you'll get detailed logs. +5. Merge `branch` to `master`. \ No newline at end of file diff --git a/packages/neat_ui/CHANGELOG.md b/packages/neat_ui/CHANGELOG.md index 15a64ad..51f3dd7 100644 --- a/packages/neat_ui/CHANGELOG.md +++ b/packages/neat_ui/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.4 + +- Final test of Github Actions. + ## 0.0.3 - Fix Github Actions (build release), fix logo image. diff --git a/packages/neat_ui/pubspec.yaml b/packages/neat_ui/pubspec.yaml index 2160999..d376d83 100644 --- a/packages/neat_ui/pubspec.yaml +++ b/packages/neat_ui/pubspec.yaml @@ -1,6 +1,6 @@ name: neat_ui description: A Flutter package with UI helpers (widgets/utils). -version: 0.0.3 +version: 0.0.4 homepage: https://github.com/neatcodingZP/flutter.basic_libs/packages/neat_ui repository: https://github.com/neatcodingZP/flutter.basic_libs/packages/neat_ui issue_tracker: https://github.com/neatcodingZP/flutter.basic_libs/issues