From 2c07b6c7b0ac570c552d5bd37d8dc69ce39648ec Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Wed, 5 Feb 2025 17:01:54 +0000 Subject: [PATCH] Remove unnecessary git tag parsing logic in nixos docker build --- vendor/docker-nixos/build.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vendor/docker-nixos/build.sh b/vendor/docker-nixos/build.sh index 43681d4..991ef71 100644 --- a/vendor/docker-nixos/build.sh +++ b/vendor/docker-nixos/build.sh @@ -2,16 +2,6 @@ set -exEuo pipefail -git fetch --tags - -nixos_tag="$( - git tag | - grep '^nixos-' | - sed -e 's/^nixos-//' | - sort -V | - tail -n1 -)" - if [ -z "$NIXOS_TAG" ]; then echo "Error: NIXOS_TAG is not set or is empty." exit 1