Repository navigation
Commit de32190
committed
Deploy: use explicit manifest versions and dep-ordered publish
The previous workflow auto-incremented the revision (2.0.0 -> 2.0.0.1) and
then committed the bump back to main. With explicit semver bumps in manifests
for 2.0.0, that auto-bump is no longer wanted.
Also, Test-ModuleManifest validates RequiredModules against installed modules,
which fails when publishing the dependency chain (IntelliTect.File requires
IntelliTect.Common, etc.) before each dep has reached the gallery.
Changes:
- Drop the auto-bump and follow-up commit steps entirely.
- Drive publishing in explicit dependency order (Common, File, Git, PSToolbox).
- Use Import-PowerShellDataFile to read the version (no manifest validation).
- Find-PSResource short-circuits if the version is already on PSGallery so
pushes that touched only docs/CI don't fail with 'version already exists'.
- Pass -SkipModuleManifestValidate to Publish-PSResource so RequiredModules
checks don't block the chain.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 65ce46a commit de32190
1 file changed
Lines changed: 28 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 35 | | |
44 | 36 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 37 | | |
79 | 38 | | |
80 | 39 | | |
| |||
90 | 49 | | |
91 | 50 | | |
92 | 51 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
96 | 80 | | |
0 commit comments