File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3737 - name : tarball
3838 run : |
3939 TAG=$(git name-rev --tags --name-only ${{github.ref}})
40- TARBALL="nvim-client-proxy-${TAG}.tar.gz"
40+ VERSION=${TAG:1}
41+ TARBALL="nvim-client-proxy-${VERSION}.tar.gz"
4142 echo TAG=${TAG} >> $GITHUB_ENV
43+ echo VERSION=${VERSION} >> $GITHUB_ENV
4244 echo TARBALL=${TARBALL} >> $GITHUB_ENV
4345 tar --create -z --file ${TARBALL} *.md LICENSE src test *.rockspec
4446
5658 run : |
5759 ./.deps/usr/bin/luarocks make
5860 ./.deps/usr/bin/luarocks pack nvim-client-proxy
59- ./.deps/usr/bin/luarocks upload *.rockspec --api-key=${{ secrets.LUAROCKS_KEY }}
61+ ./.deps/usr/bin/luarocks upload --force *.rockspec --api-key=${{ secrets.LUAROCKS_KEY }}
6062
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ local git_tag = 'v' .. rock_version
66package = " nvim-client-proxy"
77version = rock_version .. ' -1'
88source = {
9- url = ' https://github.com/hjdivad/nvim-client-proxy/archive/ ' .. git_tag .. ' .tar.gz' ,
9+ url = ' https://github.com/hjdivad/nvim-client-proxy/releases/download/ ' .. git_tag .. ' /nvim-client-proxy- ' .. rock_version .. ' .tar.gz' ,
1010}
1111description = {
1212 homepage = " https://github.com/hjdivad/nvim-client-proxy/" ,
You can’t perform that action at this time.
0 commit comments