Skip to content

Modernise Github actions #17

Modernise Github actions

Modernise Github actions #17

Workflow file for this run

name: Update WP plugin version to match Git tag
on: push
jobs:
tag-new-versions:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: salsify/action-detect-and-tag-new-version@v2
with:
version-command: |
grep "Version: " itsec-login-logs.php | sed -e 's/^.*Version: *//'