Skip to content

Commit b5a8bb0

Browse files
committed
Melos fix
1 parent 3d2dae2 commit b5a8bb0

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,13 @@ jobs:
4444
printf '%s' "$PUB_CREDENTIALS" > "$HOME/.config/dart/pub-credentials.json"
4545
4646
- name: Publish packages
47-
run: melos publish --no-dry-run --yes
47+
run: |
48+
# Publish in workspace dependency order (dependencies first) and
49+
# serially to avoid pub.dev validation failing when multiple packages
50+
# are released together.
51+
melos exec \
52+
--no-private \
53+
--no-published \
54+
--order-dependents \
55+
--concurrency=1 \
56+
-- dart pub publish --force

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,7 @@ lib/generated_plugin_registrant.dart
112112
.history
113113
.ionide
114114

115-
# End of https://www.toptal.com/developers/gitignore/api/dart,flutter,visualstudiocode
115+
# End of https://www.toptal.com/developers/gitignore/api/dart,flutter,visualstudiocode
116+
117+
**/.idea/
118+
**/*.iml

0 commit comments

Comments
 (0)