Skip to content

v3.4.1: php 8.2 support #19

v3.4.1: php 8.2 support

v3.4.1: php 8.2 support #19

Workflow file for this run

name: Update Workflow
on:
push:
# only triggers on solo readme commits basically
paths:
- '!.github/**'
- '!languages/**'
- '!scripts/**'
- '!shortcodes/**'
- '!templates/**'
- '!tests/**'
- '!*.php'
- '!docker*'
- '!*.css'
jobs:
update:
if: github.event.ref == 'refs/heads/master'
container:
image: alpine:3.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# setup
- run: apk add --no-cache subversion nodejs npm
- run: npm i -g [email protected]
- run: svn co -q https://plugins.svn.wordpress.org/leaflet-map /repo
- run: rm -rf /repo/trunk/*
- run: cp -r * /repo/trunk
- run: |
cd /repo
# get version
VERSION=$(node -p "require('./trunk/package.json').version")
# update tagged
svn rm tags/${VERSION}
svn cp trunk tags/${VERSION}
# add all svn
svn add --force .
svn ci -m "${{ github.event.head_commit.message }}" --username ${{ secrets.SVN_USER }} --password ${{ secrets.SVN_PASSWORD }}