Skip to content

update version before releasing a new release #7873

update version before releasing a new release

update version before releasing a new release #7873

Workflow file for this run

name: Rebuild Licence data file
on:
push:
branches: [ trunk, develop ]
pull_request:
branches: [ trunk, develop ]
jobs:
licence:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Find file
run: find ./licence-data.php
id: find
continue-on-error: true
- name: Add a file
if: ${{ steps.find.outcome == 'failure' }}
run: git checkout origin/trunk licence-data.php
id: add
- name: Commit the missing file
if: ${{ steps.add.outcome == 'success' }}
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Adds missing licence-data.php file
commit_user_name: WP-media GitHub Actions Bot