Skip to content

chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#26) #22

chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#26)

chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#26) #22

Workflow file for this run

---
name: release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
id: version
- name: Create GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "${{ steps.version.outputs.version-with-prefix }}" \
--generate-notes \
--target "${{ github.sha }}"
- name: Update Major Tag
env:
MAJOR: ${{ steps.version.outputs.major-with-prefix }}
run: |
git tag -d ${MAJOR} || true
git push origin :refs/tags/${MAJOR}
git tag ${MAJOR} ${GITHUB_SHA}
git push origin ${MAJOR}