Commit 15c9a2c
committed
fix(ci): checkout correct version tag for build and publish
The build and publish jobs were checking out the default ref (pre-bump),
causing them to build and publish the OLD version instead of the NEW one.
Changes:
1. Build jobs: checkout v${{ inputs.version }} tag (created by version job)
2. Publish job: same checkout ref as build jobs
3. Publish job: use inputs.version for npm version check
This ensures:
- Build compiles the correct version code
- npm publish publishes the correct version1 parent 5a62207 commit 15c9a2c
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
405 | 410 | | |
406 | 411 | | |
407 | 412 | | |
408 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
409 | 417 | | |
410 | 418 | | |
411 | 419 | | |
| |||
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
528 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
529 | 544 | | |
530 | 545 | | |
531 | | - | |
532 | | - | |
| 546 | + | |
533 | 547 | | |
534 | 548 | | |
535 | 549 | | |
| |||
0 commit comments