diff --git a/.justfile b/.justfile index 3e56196..4f15c43 100644 --- a/.justfile +++ b/.justfile @@ -191,6 +191,13 @@ push: verify alias p := push +# Push tag 'latest' +[group: 'develop'] +push-tag-latest-unsafe: + git push origin tag latest --force --no-verify + +alias ptlu := push-tag-latest-unsafe + # Push without verifying [group: 'develop'] push-unsafe: diff --git a/src/syntax/content.rs b/src/syntax/content.rs index 29ef886..8537e34 100644 --- a/src/syntax/content.rs +++ b/src/syntax/content.rs @@ -46,7 +46,10 @@ impl TokenOutput { pub fn parse(text: &str, graph: &Graph) -> String { parser::read(text, graph) } pub fn rich_parse(text: &str, graph: &Graph) -> TokenOutput { - parser::rich_read(text, graph) + parser::rich_read( + &text.replace("{{ en_version }}", env!("CARGO_PKG_VERSION")), + graph, + ) } #[cfg(test)] diff --git a/static/graph.toml b/static/graph.toml index ab3a5f2..4b7835c 100644 --- a/static/graph.toml +++ b/static/graph.toml @@ -8,7 +8,15 @@ text = """ The easiest way to get started is by downloading a pre-built binary. -x64 Linux binaries are available from the |git.jutty.dev package registry|https://git.jutty.dev/jutty/-/packages/generic/en|. Check the links under "Assets" for direct downloads. +x64 Linux binaries are available from the |git.jutty.dev package registry|https://git.jutty.dev/jutty/-/packages/generic/en|: + +% + Platform ! Download + x64 Linux GNU | |en-x64-linux-gnu|https://git.jutty.dev/api/packages/jutty/generic/en/{{ en_version }}/en-x64-linux-gnu| + x64 Linux musl | |en-x64-linux-musl|https://git.jutty.dev/api/packages/jutty/generic/en/{{ en_version }}/en-x64-linux-musl| +% + +If in doubt, it is likely your system uses the GNU libc. Regardless, the musl binary is statically compiled and should run on mostly any x64 Linux system. Other platforms may be supported in the future depending on CI resources.