Skip to content

Commit

Permalink
chore: set rockspec to scm
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Jan Noort committed Jun 24, 2024
1 parent bc8a879 commit 1a2b788
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
if: env.LUAROCKS_API_KEY != null
- name: Get Version
run: echo "LUAROCKS_VERSION=$( \
git fetch --tags; git describe --abbrev=0 --tags \
)" \
>> $GITHUB_ENV
- name: Luarocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
if: env.LUAROCKS_API_KEY != null
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
version: ${{ env.LUAROCKS_VERSION }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rockspec_format = "3.0"
package = "adopure.nvim"
version = "0.0.1-1"
version = "scm-1"
source = {
url = "git+https://github.com/Willem-J-an/adopure.nvim",
}
Expand All @@ -16,6 +16,7 @@ test_dependencies = {
build = {
type = "builtin",
copy_directories = {
"doc",
"plugin",
},
}

0 comments on commit 1a2b788

Please sign in to comment.