Skip to content

Try one more time to fix release number #11

Try one more time to fix release number

Try one more time to fix release number #11

Workflow file for this run

name: Build Release
on:
push:
tags:
- '*'
jobs:
bundle_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout Plugin
uses: actions/checkout@v3
with:
repository: rechecked/rcagent-plugins
path: './plugins'
- name: Set Version and Plugin
run: |
sed -i 's/VERSION_ID/'$(echo '${{ github.ref_name }}' | grep "[[:digit:]].*" -o)'/' rcagent/rcagent.inc.php
cp plugins/check_rcagent.py rcagent/plugins/check_rcagent.py
chmod +x rcagent/plugins/check_rcagent.py
- name: Archive Build
uses: actions/upload-artifact@v3
with:
name: rcagent
path: rcagent
- name: Zip for Release
run: zip -r rcagent.zip rcagent
- name: Release
uses: softprops/action-gh-release@v1
with:
files: rcagent.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}