Commit 94f15e4
fix(preset): ssh-to-age now uses -version flag instead of SHA hash workaround
ssh-to-age gained a -version flag (prints bare version like "1.2.0").
Replace the old SHA256-hash-of-help-output workaround with a direct
'-version' call. Prepend 'v' prefix so it matches GithubLatest's
"v1.3.0" format for the skip comparison.
Removes the hardcoded versions map and the crypto/sha256 import.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4ef01e8 commit 94f15e4
1 file changed
Lines changed: 8 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
| |||
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
38 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
50 | 40 | | |
51 | | - | |
| 41 | + | |
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
0 commit comments