Skip to content

fix(mod): handle case where mod decl exists #10

fix(mod): handle case where mod decl exists

fix(mod): handle case where mod decl exists #10

Workflow file for this run

---
name: "Luarocks release"
on:
push:
tags:
- '*.*.*'
pull_request:
jobs:
luarocks-release:
runs-on: ubuntu-latest
name: Release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luarocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
dependencies: |
luasnip
- name: Fail if changelog entry does not exist
if: startsWith(github.ref, 'refs/tags/')
run: grep -q "${{ github.ref_name }}" CHANGELOG.md
- name: GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
bodyFile: "CHANGELOG.md"
allowUpdates: true