Skip to content

chore(master): release 1.0.0 #1

chore(master): release 1.0.0

chore(master): release 1.0.0 #1

Workflow file for this run

---
name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
luarocks-release:
runs-on: ubuntu-latest
name: Luarocks Release
steps:
- 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)"
# shellcheck disable=SC2086
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 }}