Commit 8f9b667
authored
New version module info & Release 0.16.0 (#426)
* api: set version in code
Before this patch, it was assumed that version would be set
automatically with CI. Yet, current approach don't work. This patch
replaces this approach with simple manual solution.
The rules are as follows:
- bump version to X.Y.Z in release commit,
- bump version to X.Y.Z-scm in the following commit.
luarocks.core.vers comparison treats scm version as we expect them to:
- X.Y.Z-scm > X.Y.Z
- X.Y.Z+1 > X.Y.Z-scm
- X.Y+1.0 > X.Y.Z-scm
- X+1.0.0 > X.Y.Z-scm
The version approach may be reworked later, but since we need a valid
version info for tarantool/tarantool#8192, we implement this one at
least for now.
Closes #330, part of tarantool/tarantool#8192
* api: provide _VERSION module info
As a part of new module policy, each module must have version info
stored in module._VERSION. For now, metrics._VERSION a duplicate of
metrics.VERSION, but the latter is likely to be deprecated later.
* release: 0.16.01 parent 61acda0 commit 8f9b667
File tree
3 files changed
+3
-2
lines changed- .github/workflows
- metrics
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
0 commit comments