Skip to content

Commit edd2462

Browse files
authored
chore: bump zig lib version to 0.11.2 (#201)
* chore: bump zig lib version to 0.11.2 Signed-off-by: zongz <[email protected]> * fix: rm ubuntu-20.04 in github action Signed-off-by: zongz <[email protected]> * fix: trans name of zig lib from string to enum Signed-off-by: zongz <[email protected]> * fix: remove useless code changes Signed-off-by: zongz <[email protected]> * fix: fix zig lib name error Signed-off-by: zongz <[email protected]> * fix: add some comments Signed-off-by: zongz <[email protected]> --------- Signed-off-by: zongz <[email protected]>
1 parent 41292f4 commit edd2462

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/zig-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
working-directory: "zig"
3030
strategy:
3131
matrix:
32-
os: [macos-13, macos-latest, ubuntu-20.04, ubuntu-latest]
32+
os: [macos-13, macos-latest, ubuntu-latest]
3333
runs-on: ${{ matrix.os }}
3434
steps:
3535
- uses: actions/checkout@v4

zig/build.zig.zon

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,27 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "kcl-lib-zig",
9+
// https://github.com/ziglang/zig/issues/23104
10+
.name = .kcl_lib_zig,
1011

1112
// This is a [Semantic Version](https://semver.org/).
1213
// In a future version of Zig it will be used for package deduplication.
13-
.version = "0.11.1",
14+
.version = "0.11.2",
15+
16+
// Together with name, this represents a globally unique package
17+
// identifier. This field is generated by the Zig toolchain when the
18+
// package is first created, and then *never changes*. This allows
19+
// unambiguous detection of one package being an updated version of
20+
// another.
21+
//
22+
// When forking a Zig project, this id should be regenerated (delete the
23+
// field and run `zig build`) if the upstream project is still maintained.
24+
// Otherwise, the fork is *hostile*, attempting to take control over the
25+
// original project's identity. Thus it is recommended to leave the comment
26+
// on the following line intact, so that it shows up in code reviews that
27+
// modify the field.
28+
// https://github.com/ziglang/zig/issues/23104
29+
.fingerprint = 0x390d0670798df8c1, // Changing this has security and trust implications.
1430

1531
// This field is optional.
1632
// This is currently advisory only; Zig does not yet do anything

0 commit comments

Comments
 (0)