Skip to content

Bump webpack from 5.89.0 to 5.94.0 #496

Bump webpack from 5.89.0 to 5.94.0

Bump webpack from 5.89.0 to 5.94.0 #496

name: Manage the "latest-stable" branch
# Controls when the workflow will run
on:
push:
permissions: write-all
jobs:
manage:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch tags
run: git fetch origin 'refs/tags/*:refs/tags/*'
- name: Get the latest version
id: get-ref
run: |
ls -alF .git/refs/tags
git tag --list
echo "ref=$(git tag --list | awk '{print $0}END{print "zzzz"}' | grep -E 'v.*' | sort -Vr | head -n1)" | tee "$GITHUB_OUTPUT"
- name: Move the "latest-stable" branch
run: git branch --force latest-stable ${{ steps.get-ref.outputs.ref }}
- name: Push the "latest-stable" branch
run: git push --force origin latest-stable