Commit 6c88e71
committed
feature: support 2.10+ releases
## Background
The new release policy (see [1]) is in effect since Tarantool 2.10 and
changes several things, including:
1. Repositories layout.
- The new release series naming: `series-2` instead of `2.10`, `2.11`
and so on.
- The new `pre-release` repository.
- No nightly builds (`live` repository).
2. Versioning.
- Three digit versions for release builds: `2.10.0` instead of
`2.10.0.0`.
- `alpha`, `beta`, `rc` marks in pre-release tarantool versions.
[1]: tarantool/tarantool#6182
## Usage
This commit offers support of 2.10+ *releases* and leaves pre-releases
unsupported (it is tracked in #23).
The usage is quite straightforward:
```yaml
steps:
- uses: actions/checkout@v2
- uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '2.10.0' # or '2.10', or just '2'
```
The latest 2.10.X version will be installed for
`tarantool-version: '2.10'`. The latest 2.X.Y version will be
installed for `tarantool-version: '2'`.
## Implementatoin details
We have nothing to do regarding versioning in order to support 2.10+
*releases*. However we should reflect the repository layout change:
* tarantool-version: 2.8, nightly-build: false or unset
(Nothing is changed here.)
```
baseUrl: https://download.tarantool.org/tarantool/release/2.8
```
* tarantool-version: 2.8, nightly-build: true
(Nothing is changed here.)
```
baseUrl: https://download.tarantool.org/tarantool/2.8
```
* tarantool-version: 2.10, nightly-build: false or unset
(This is the new logic introduced by this commit.)
```
baseUrl: https://download.tarantool.org/tarantool/release/series-2
```
* tarantool-version: 2.10, nightly-build: true
(This is the new logic introduced by this commit.)
Raise an error.
If the version is set as `'2'` or `'2.10.0'`, use the same logic as for
`'2.10'`.
Fixes #191 parent e1bb39f commit 6c88e71
File tree
4 files changed
+137
-9
lines changed- .github
- actions/latest-version
- workflows
- dist/main
- src
4 files changed
+137
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58024 | 58024 | | |
58025 | 58025 | | |
58026 | 58026 | | |
58027 | | - | |
58028 | | - | |
58029 | | - | |
58030 | | - | |
58031 | 58027 | | |
58032 | 58028 | | |
58033 | 58029 | | |
| |||
58081 | 58077 | | |
58082 | 58078 | | |
58083 | 58079 | | |
| 58080 | + | |
| 58081 | + | |
| 58082 | + | |
| 58083 | + | |
| 58084 | + | |
| 58085 | + | |
| 58086 | + | |
| 58087 | + | |
| 58088 | + | |
| 58089 | + | |
| 58090 | + | |
| 58091 | + | |
| 58092 | + | |
| 58093 | + | |
| 58094 | + | |
| 58095 | + | |
| 58096 | + | |
| 58097 | + | |
| 58098 | + | |
| 58099 | + | |
| 58100 | + | |
| 58101 | + | |
| 58102 | + | |
| 58103 | + | |
| 58104 | + | |
| 58105 | + | |
| 58106 | + | |
| 58107 | + | |
| 58108 | + | |
| 58109 | + | |
| 58110 | + | |
| 58111 | + | |
| 58112 | + | |
| 58113 | + | |
| 58114 | + | |
| 58115 | + | |
58084 | 58116 | | |
| 58117 | + | |
58085 | 58118 | | |
58086 | 58119 | | |
58087 | 58120 | | |
| |||
58123 | 58156 | | |
58124 | 58157 | | |
58125 | 58158 | | |
| 58159 | + | |
58126 | 58160 | | |
58127 | 58161 | | |
58128 | 58162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
78 | 73 | | |
79 | 74 | | |
80 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
81 | 118 | | |
82 | 119 | | |
83 | 120 | | |
| 121 | + | |
84 | 122 | | |
85 | 123 | | |
86 | 124 | | |
| |||
125 | 163 | | |
126 | 164 | | |
127 | 165 | | |
| 166 | + | |
128 | 167 | | |
129 | 168 | | |
130 | 169 | | |
| |||
0 commit comments