diff --git a/README.md b/README.md index 11087e4..8382e6e 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,13 @@ versions will not build this. Add the dependency to your project: ```console -zig fetch --save git+https://git.jcollie.dev/jeff/zig-csv.git +zig fetch --save git+https://git.jcollie.dev/jeff/zig-csv.git#v0.1.0 ``` That records the resolved commit and hash in your `build.zig.zon` under the -name `zig_csv`. There are no release tags yet, so the fetch pins whatever -`main` points at when you run it. +name `zig_csv`. Naming a tag pins the release; leaving the `#v0.1.0` off +pins whatever `main` happened to point at when you ran the command, which is +rarely what you want in a committed manifest. Then wire the module up in your `build.zig`: diff --git a/build.zig.zon b/build.zig.zon index c748f3b..3652924 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .zig_csv, - .version = "0.0.2", + .version = "0.1.0", .fingerprint = 0xb51631650614d5d2, .minimum_zig_version = "0.16.0", .dependencies = .{},