Commit bc0600d
chore(ci): strip leading
The smoke test workflow compares the output of `supabase --version`
against the `VERSION` environment variable. However, `supabase
--version` outputs the version without a leading `v`, while release tags
and setup-cli inputs include it. This causes version mismatches during
testing.
**Changes:**
- Strip the leading `v` from `VERSION` before comparison in both smoke
test jobs
- Add clarifying comments explaining why the stripping is necessary
The fix uses bash parameter expansion (`${VERSION#v}`) to remove the
leading `v` if present, ensuring the comparison is between two
consistently formatted version strings.
https://claude.ai/code/session_01S5jBFMNp5mHAWhS9inCagB
Co-authored-by: Claude <noreply@anthropic.com>v from VERSION before comparing (#5326)1 parent 8fc9b68 commit bc0600d
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | | - | |
66 | | - | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | | - | |
114 | | - | |
| 121 | + | |
| 122 | + | |
115 | 123 | | |
116 | 124 | | |
0 commit comments