Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/publish_monorepo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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`.
4 changes: 4 additions & 0 deletions packages/neat_ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4

- Final test of Github Actions.

## 0.0.3

- Fix Github Actions (build release), fix logo image.
Expand Down
2 changes: 1 addition & 1 deletion packages/neat_ui/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading