Open jeswr opened 1 year ago
Ok - so we get https://github.com/eyereasoner/eye-js/pull/288#event-9168826850 which is good; but we also want to cut a new release since this can change the eye image we generate.
This means changing the commit message somehow so semantic release hooks onto it.
https://github.com/eyereasoner/eye-js/pull/293 will stop it automerging so a human can give it the right commit messages for now
I started building the following rename.yml
to automtically rename the PR but decided it was too much for now
name: Rename swipl-wasm PRs
on:
pull_request_target:
jobs:
automerge:
name: Rename swipl-wasm PRs
runs-on: ubuntu-latest
if: ! startsWith(github.ref, 'dependabot/npm_and_yarn/swipl-wasm-')
steps:
run: e = ${{ github.event.pull_request.title }}
chore(deps): bump swipl-wasm from 3.2.2 to 3.3.0"
name="chore(deps): bump swipl-wasm from 3.2.2 to 3.3.0"
versions=$(echo -ne $name | perl -wnE'say for/[0-9]+.[0-9]+.[0-9]+/g')
echo $versions
if [ ! ${before[0]} == ${after[0]} ]; then
version="BREAKING CHANGE"
branchHead="breaking"
elif [ ! ${before[1]} == ${after[1]} ]; then
version="feat"
branchHead="feat"
elif [ ! ${before[2]} == ${after[2]} ]; then
version="fix"
branchHead="fix"
fi
In particular the pinned version in the package.json (originally pinned here https://github.com/eyereasoner/eye-js/pull/276/commits/559ed6a43ced7fdcdbaccf98ee16d9a4e71db0dd)