Commit 6c79cf7
test: fix CI test failures after 2.14.0 release (#110)
* fix(ci): fix CI test failures after 2.14.0 release
- Fix update-dependency.Tests.ps1 to use same version sorting logic as actual script
- Update workflow-args.sh to dynamically return latest tag using git describe
- Ensures CI tests remain stable across releases without manual updates
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* simplify: use git ls-remote consistently for version detection
- Remove git describe fallback complexity
- Always use git ls-remote for consistency with PowerShell script
- More reliable in CI environments and shallow clones
* fix: update workflow test expectations for dynamic version
- Test now expects actual version number instead of hardcoded 'latest'
- Verifies originalTag == latestTag to ensure no update is needed
- Maintains expectation of empty outputs when no update occurs
* fix: support both 'latest' and version numbers in workflow test
- Test now accepts either 'latest' or actual version number format
- Maintains backward compatibility while supporting dynamic versioning
- Still ensures originalTag == latestTag for no-update scenario
---------
Co-authored-by: Claude <[email protected]>1 parent 9530500 commit 6c79cf7
File tree
3 files changed
+24
-7
lines changed- .github/workflows
- updater/tests
3 files changed
+24
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
11 | 25 | | |
| |||
0 commit comments