diff --git a/README.md b/README.md index 2b0bb4e..e153a66 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Binaries for all supported platforms are available for download on the [releases If you're looking for a one liner to download the binary, you can use this: ``` -curl -L https://github.com/matt-allan/envtpl/releases/download/0.1.0/aarch64-macos.tar.xz | tar -xJ --strip-components=1 -C . +curl -L https://github.com/matt-allan/envtpl/releases/download/0.2.0/aarch64-macos.tar.xz | tar -xJ --strip-components=1 -C . ``` Replace the filename with the architecture you want (listed on the releases page). The binary will be available in your current directory as `envtpl`. diff --git a/src/main.zig b/src/main.zig index ca80d1a..8f2819a 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,6 +1,8 @@ const std = @import("std"); usingnamespace @import("envtpl.zig"); +const version = "0.2.0"; + const help = \\ Usage: envtpl \\ @@ -15,8 +17,6 @@ const help = \\ of the environment variable matching `NAME`. ; -const version = "0.1.0"; - pub fn main() !void { var args = std.process.args();