Commit 60585de
Improve version guessing logic. (#9)
* Improve version guessing logic.
We will now only prefix a user-supplied version for the release
channel with `v` if it does not exist as-entered, and if the prefixed
version exists.
* Validate the existence of `set-version` arguments early.
* Use correct name of owner and repo instead of hardcoded
Co-authored-by: Edoardo Pirovano <[email protected]>1 parent 41214ac commit 60585de
1 file changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
130 | 145 | | |
131 | 146 | | |
132 | 147 | | |
| |||
168 | 183 | | |
169 | 184 | | |
170 | 185 | | |
171 | | - | |
172 | 186 | | |
173 | 187 | | |
174 | 188 | | |
| |||
0 commit comments