From a42cf34058827f6abc3fd47f94896754bcd870d8 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Fri, 7 Jun 2024 16:54:12 -0600 Subject: [PATCH] lint: fix misspell linter install It appears that starting with v0.5.2 the misspell linter embeds the version directory into the release archive. Signed-off-by: Ryan Cragun --- .github/actions/set-up-misspell/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/set-up-misspell/action.yml b/.github/actions/set-up-misspell/action.yml index d6101bf07313..33fbfa5746e2 100644 --- a/.github/actions/set-up-misspell/action.yml +++ b/.github/actions/set-up-misspell/action.yml @@ -59,5 +59,5 @@ runs: mkdir -p tmp gh release download "$VERSION" -p "misspell_*_${OS}_${ARCH}.tar.gz" -O tmp/misspell.tgz -R golangci/misspell pushd tmp && tar -xvf misspell.tgz && popd - mv tmp/misspell "$DESTINATION" + mv tmp/misspell_"$(echo "$VERSION" | tr -d v)"_${OS}_${ARCH}/misspell "$DESTINATION" rm -rf tmp