Skip to content

Commit

Permalink
cd: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jun 4, 2023
1 parent 9004bdf commit ed78c5f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: "Luarocks release"
on:
push:
tags:
- '*.*.*'

jobs:
release:
runs-on: ubuntu-latest
name: Release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fail if changelog entry does not exist
run: grep -q "${{ github.ref_name }}" CHANGELOG.md
- name: Release to marketplace
uses: ncipollo/release-action@v1
with:
bodyFile: "CHANGELOG.md"
allowUpdates: true

0 comments on commit ed78c5f

Please sign in to comment.