Skip to content

Commit

Permalink
lint: fix misspell linter install (#27408)
Browse files Browse the repository at this point in the history
It appears that starting with v0.5.2 the misspell linter embeds the
version directory into the release archive.

Signed-off-by: Ryan Cragun <[email protected]>
  • Loading branch information
ryancragun committed Jun 7, 2024
1 parent 2756303 commit f7c1679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/set-up-misspell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f7c1679

Please sign in to comment.