Skip to content

Commit

Permalink
Try to make LuaRocks happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdivad committed Jun 11, 2022
1 parent 2baa882 commit 4340e72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
- name: tarball
run: |
TAG=$(git name-rev --tags --name-only ${{github.ref}})
TARBALL="nvim-client-proxy-${TAG}.tar.gz"
VERSION=${TAG:1}
TARBALL="nvim-client-proxy-${VERSION}.tar.gz"
echo TAG=${TAG} >> $GITHUB_ENV
echo VERSION=${VERSION} >> $GITHUB_ENV
echo TARBALL=${TARBALL} >> $GITHUB_ENV
tar --create -z --file ${TARBALL} *.md LICENSE src test *.rockspec
Expand All @@ -56,5 +58,5 @@ jobs:
run: |
./.deps/usr/bin/luarocks make
./.deps/usr/bin/luarocks pack nvim-client-proxy
./.deps/usr/bin/luarocks upload *.rockspec --api-key=${{ secrets.LUAROCKS_KEY }}
./.deps/usr/bin/luarocks upload --force *.rockspec --api-key=${{ secrets.LUAROCKS_KEY }}
2 changes: 1 addition & 1 deletion nvim-client-proxy-0.1.0-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local git_tag = 'v' .. rock_version
package = "nvim-client-proxy"
version = rock_version .. '-1'
source = {
url = 'https://github.com/hjdivad/nvim-client-proxy/archive/' .. git_tag .. '.tar.gz',
url = 'https://github.com/hjdivad/nvim-client-proxy/releases/download/' .. git_tag .. '/nvim-client-proxy-' .. rock_version .. '.tar.gz',
}
description = {
homepage = "https://github.com/hjdivad/nvim-client-proxy/",
Expand Down

0 comments on commit 4340e72

Please sign in to comment.