From c113522810a39cc035ae178cdada583610ba6ce3 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 19 Feb 2023 10:24:43 +0100 Subject: chore: use luarocks-tag-release action (#2364) --- scripts/luarocks-upload.sh | 10 ---------- scripts/test-luarocks-install.sh | 4 ---- 2 files changed, 14 deletions(-) delete mode 100644 scripts/luarocks-upload.sh delete mode 100644 scripts/test-luarocks-install.sh (limited to 'scripts') diff --git a/scripts/luarocks-upload.sh b/scripts/luarocks-upload.sh deleted file mode 100644 index 8807d9e..0000000 --- a/scripts/luarocks-upload.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -# Expects the LUAROCKS_API_KEY secret to be set - -TMP_DIR=$(mktemp -d) -MODREV=$(git describe --tags --always --first-parent | tr -d "v") -DEST_ROCKSPEC="$TMP_DIR/telescope.nvim-$MODREV-1.rockspec" -cp "telescope.nvim-scm-1.rockspec" "$DEST_ROCKSPEC" -sed -i "s/= 'scm'/= '$MODREV'/g" "$DEST_ROCKSPEC" -luarocks upload "$DEST_ROCKSPEC" --api-key="$LUAROCKS_API_KEY" diff --git a/scripts/test-luarocks-install.sh b/scripts/test-luarocks-install.sh deleted file mode 100644 index 8198015..0000000 --- a/scripts/test-luarocks-install.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -MODREV=$(git describe --tags --always --first-parent | tr -d "v") -luarocks install "telescope.nvim" "$MODREV" -- cgit v1.2.3