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 7554e16
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "Release"
name: Release
on:
push:
tags:
Expand All @@ -13,8 +13,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
if: env.LUAROCKS_API_KEY != null

- name: Get Version
run: |
git fetch --tags
tag="$(git describe --abbrev=0 --tags)"
echo "LUAROCKS_VERSION=$tag" >> $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 7554e16

Please sign in to comment.