From f45c5142220c4aa86ca2b03cb47ab969089a16f1 Mon Sep 17 00:00:00 2001 From: Emil Priver Date: Mon, 1 Jan 2024 22:14:34 +0100 Subject: [PATCH] Geni: Changed so pkgx don't change src/main.rs if version is more then 0.0.3 (#4683) * upgraded pantry package * updated package.yml * updated * /releases/tags is default behavior * removed if for version over 0.0.4 * added a v for testing * = --------- Co-authored-by: Jacob Heider --- projects/priver.dev/geni/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/priver.dev/geni/package.yml b/projects/priver.dev/geni/package.yml index 8df5a1d5..8e58b311 100644 --- a/projects/priver.dev/geni/package.yml +++ b/projects/priver.dev/geni/package.yml @@ -16,9 +16,9 @@ build: script: # 0.0.4 got released without a version bump - run: sed -i -e 's/"0\.0\.3"/"{{version}}"/g' Cargo.toml src/main.rs - if: '>=0.0.3' + if: '=0.0.4' - cargo install --locked --path . --root {{prefix}} test: script: - - test "$(geni --version)" = "geni {{version}}" + - test "$(geni --version)" = "geni v{{version}}"