diff options
| author | Marc Jakobi <mrcjkb89@outlook.com> | 2023-02-19 10:24:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-19 10:24:43 +0100 |
| commit | c113522810a39cc035ae178cdada583610ba6ce3 (patch) | |
| tree | 5d96ef6cf974683f9384755a90600af3ff6ad9dd /scripts | |
| parent | 203bf5609137600d73e8ed82703d6b0e320a5f36 (diff) | |
chore: use luarocks-tag-release action (#2364)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/luarocks-upload.sh | 10 | ||||
| -rw-r--r-- | scripts/test-luarocks-install.sh | 4 |
2 files changed, 0 insertions, 14 deletions
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" |
