Skip to content

Commit ba63dcb

Browse files
masreplayclaude
andcommitted
ci: add pub.dev automated publishing workflow; rebuild bundle; drop merge remnants
- .github/workflows/publish.yml: OIDC tag-triggered publishing for the five publishable packages (<package>-v<version> tags → dart-lang reusable workflow). - Rebuild the shipped navigation_devtools extension bundle for the new Tree/Graph UI so the committed bundle matches source (bundle-drift CI gate). - Remove leftover auto_route_devtools/extension remnant (bundle now ships only from navigation_devtools) and the stale HANDOFF.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 417ffd6 commit ba63dcb

13 files changed

Lines changed: 67118 additions & 63771 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Automated publishing to pub.dev via GitHub Actions OIDC (no tokens stored).
2+
#
3+
# Each publishable package is released by pushing a git tag of the form
4+
# `<package>-v<version>`, e.g. `navigation_devtools_shared-v0.1.0`. The matching
5+
# job below calls the official dart-lang reusable publish workflow, which
6+
# exchanges the GitHub OIDC token for a short-lived pub.dev credential.
7+
#
8+
# One-time setup per package on pub.dev (Admin → Automated publishing):
9+
# • Repository: masreplay/auto_route_devtools
10+
# • Tag pattern: <package>-v{{version}}
11+
# The package must already exist on pub.dev (do the very first publish manually
12+
# with `dart pub publish`); afterwards these tags publish every new version.
13+
name: Publish to pub.dev
14+
15+
on:
16+
push:
17+
tags:
18+
- 'navigation_devtools_shared-v[0-9]+.[0-9]+.[0-9]+'
19+
- 'navigation_devtools_test-v[0-9]+.[0-9]+.[0-9]+'
20+
- 'navigation_devtools-v[0-9]+.[0-9]+.[0-9]+'
21+
- 'go_router_devtools-v[0-9]+.[0-9]+.[0-9]+'
22+
- 'auto_route_devtools-v[0-9]+.[0-9]+.[0-9]+'
23+
24+
jobs:
25+
navigation_devtools_shared:
26+
if: startsWith(github.ref_name, 'navigation_devtools_shared-v')
27+
permissions:
28+
id-token: write # required for OIDC authentication to pub.dev
29+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
30+
with:
31+
working-directory: packages/navigation_devtools_shared
32+
33+
navigation_devtools_test:
34+
if: startsWith(github.ref_name, 'navigation_devtools_test-v')
35+
permissions:
36+
id-token: write
37+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
38+
with:
39+
working-directory: packages/navigation_devtools_test
40+
41+
navigation_devtools:
42+
# `navigation_devtools-v…` has a hyphen after the name, so it never matches
43+
# the `navigation_devtools_shared`/`_test` tags (which have an underscore).
44+
if: startsWith(github.ref_name, 'navigation_devtools-v')
45+
permissions:
46+
id-token: write
47+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
48+
with:
49+
working-directory: packages/navigation_devtools
50+
51+
go_router_devtools:
52+
if: startsWith(github.ref_name, 'go_router_devtools-v')
53+
permissions:
54+
id-token: write
55+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
56+
with:
57+
working-directory: packages/go_router_devtools
58+
59+
auto_route_devtools:
60+
if: startsWith(github.ref_name, 'auto_route_devtools-v')
61+
permissions:
62+
id-token: write
63+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
64+
with:
65+
working-directory: packages/auto_route_devtools

‎HANDOFF.md‎

Lines changed: 0 additions & 34 deletions
This file was deleted.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9790952f3acdf72bddba0d58aee90f62
1+
1a3f69231a40cb81648e5dd36fc0b137

‎packages/navigation_devtools/extension/devtools/build/assets/NOTICES‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ auto_route_devtools
3535
go_router_devtools
3636
navigation_devtools
3737
navigation_devtools_shared
38+
navigation_devtools_test
3839

3940
MIT License
4041

‎packages/navigation_devtools/extension/devtools/build/canvaskit/chromium/canvaskit.wasm‎

100644100755
File mode changed.

‎packages/navigation_devtools/extension/devtools/build/canvaskit/experimental_webparagraph/canvaskit.wasm‎

100644100755
File mode changed.

‎packages/navigation_devtools/extension/devtools/build/canvaskit/skwasm.wasm‎

100644100755
File mode changed.

‎packages/navigation_devtools/extension/devtools/build/canvaskit/skwasm_heavy.wasm‎

100644100755
File mode changed.

0 commit comments

Comments
 (0)