Skip to content

Commit 6c9b09e

Browse files
committed
release 1.0.0
1 parent 312cd11 commit 6c9b09e

File tree

5 files changed

+60
-4
lines changed

5 files changed

+60
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
uses: lunarmodules/.github/.github/workflows/test_build_rock.yml@main
1414
with:
1515
rockspecs: ${{ needs.affected.outputs.rockspecs }}
16+
format3: true
1617

1718
upload:
1819
needs: [ affected, build ]

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22

3-
## unreleased
3+
## Releasing new versions
4+
5+
- update changelog below
6+
- verify copyright years in `LICENSE`, and when adding new Lua versions, update the license details
7+
- create a new rockspec file
8+
- update version constant in `src/cluacov/version.lua`
9+
- push updates to a new branche `release/x.x.x` and create a PR
10+
- after merging, tag the commit with the new version and push the tag
11+
- upload to LuaRocks should be automatic through the deploy workflow, after the tag is pushed
12+
13+
## 1.0.0 (2026-02-06)
414

515
Added Lua 5.5 compatibility.
616

LICENSE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (C) 2016 - 2018 Peter Melnichenko
4+
Copuright (C) 2019 - 2026 LunarModules maintainers
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal
@@ -44,9 +45,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4445
THE SOFTWARE.
4546

4647
===============================================================================
47-
cluacov includes code from Lua 5.1/5.2/5.3, which also use MIT license:
48+
cluacov includes code from Lua 5.1/5.2/5.3/5.4/5.5, which also use MIT license:
4849

49-
Copyright (C) 1994-2016 Lua.org, PUC-Rio.
50+
Copyright (C) 1994-2026 Lua.org, PUC-Rio.
5051

5152
Permission is hereby granted, free of charge, to any person obtaining a copy
5253
of this software and associated documentation files (the "Software"), to deal

rockspecs/cluacov-1.0.0-1.rockspec

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
local package_name = "cluacov"
2+
local package_version = "1.0.0"
3+
local rockspec_revision = "1"
4+
local github_account_name = "lunarmodules"
5+
local github_repo_name = "cluacov"
6+
7+
8+
rockspec_format = "3.0"
9+
package = package_name
10+
version = package_version.."-"..rockspec_revision
11+
12+
source = {
13+
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
14+
branch = (package_version == "dev") and "master" or nil,
15+
tag = (package_version ~= "dev") and package_version or nil,
16+
}
17+
18+
description = {
19+
summary = "C extensions for LuaCov",
20+
detailed = [[
21+
Optional C extensions for LuaCov, improving performance and reducing
22+
number of lines incorrectly marked as missed. Depends on LuaCov.
23+
]],
24+
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
25+
license = "MIT"
26+
}
27+
28+
dependencies = {
29+
"lua >= 5.1",
30+
"luacov >= 0.13.0"
31+
}
32+
33+
build = {
34+
type = "builtin",
35+
modules = {
36+
["cluacov.deepactivelines"] = "src/cluacov/deepactivelines.c",
37+
["cluacov.hook"] = "src/cluacov/hook.c",
38+
["cluacov.version"] = "src/cluacov/version.lua"
39+
}
40+
}
41+
42+
test = {
43+
type = "busted"
44+
}

src/cluacov/version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
-- in C and may easily error on load due to a missing symbol,
44
-- for instance, leaving the caller of `require` thinking that
55
-- they are missing.
6-
return "0.1.4"
6+
return "1.0.0"

0 commit comments

Comments
 (0)