Commit 2b8c8b8
committed
fix(build): resolve SemVer packaging and CI/CD workflow issues
- Fix versioning bug preventing package deployment by switching from build metadata format (2.0.0+date.sha) to pre-release format (2.0.0-nightly.date.sha) for NuGet filename compatibility
- Eliminate duplicate CI/CD runs by removing feature/* branches from push triggers and implementing PR-driven deployments for feature branches
- Update GitHub Actions workflow branch name detection using conditional expressions for both push and pull_request events
- Ensure proper SemVer 2.0 compliance where feature branch packages (2.0.0-source-generator-*) rank higher than nightly builds (2.0.0-nightly.*) due to lexicographic ordering
- Maintain backward compatibility with existing versioning strategy while enabling reliable automated package publishing
Affects packages:
- LocalStack.Client
- LocalStack.Client.Extensions1 parent ec8c53a commit 2b8c8b8
File tree
2 files changed
+11
-12
lines changed- .github/workflows
- build/LocalStack.Build
2 files changed
+11
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| |||
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | | - | |
| 188 | + | |
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
| |||
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
| 212 | + | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
| |||
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
224 | | - | |
| 223 | + | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments