Skip to content

Commit

Permalink
Updating README; Update version for another release.
Browse files Browse the repository at this point in the history
  • Loading branch information
photex committed Jun 10, 2024
1 parent cd2bbfb commit 2c3a688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ If you build a debug version there will be some extra logging output that you wo

In this mode, ziege is a proxy for a specific zig release. This mode is activated when ziege is named 'zig' (either via a symlink or by making a copy), or if you run ziege with the `+zig` launcher arg.

Ziege will try and determine the zig version to proxy by reading a file named `.zigversion` in the current working directory. If that is not found *ziege will create this file and use the current nightly version of zig*.
Ziege will try and determine the zig version to proxy by reading a file named `.zigversion` in the current working directory. If that is not found *ziege will use the current nightly version of zig*.

You can override this version by using a "launcher arg":

Expand All @@ -81,6 +81,8 @@ In the event you want to always use this version you can have ziege update your
zig +set-version=0.12.0 build run
```

It is also possible to set the version or override `.zigversion` with the environment variable `ZIG_VERSION`. And zeige will set that env var with running zig or zls so that any call to zig as a child process that relies on finding zig in PATH will end up using the correct version (which appears to happen for 'zig build' dependencies specified as paths in build.zig.zon).

In all cases, if the resolved version isn't found then it will be downloaded first.

### Zls mode
Expand Down
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ReleaseManager = @import("./release_manager.zig").ReleaseManager;

const log = globals.log;

const VERSION = "0.3.0-dev";
const VERSION = "0.3.0";

//-----------------------------------------------------------------------------

Expand Down

0 comments on commit 2c3a688

Please sign in to comment.