Skip to content

chore(docs-watch): sync monitored docs hashes #26

chore(docs-watch): sync monitored docs hashes

chore(docs-watch): sync monitored docs hashes #26

name: Release Please
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Release Please
id: release
uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: Update moving major tag
if: ${{ steps.release.outputs.release_created }}
run: |
major="${{ steps.release.outputs.major }}"
minor="${{ steps.release.outputs.minor }}"
tag_major="v${major}"
tag_minor="v${major}.${minor}"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -f "$tag_major"
git tag -f "$tag_minor"
git push -f origin "$tag_major" "$tag_minor"