mirror of
https://github.com/chenasraf/input-form.nvim.git
synced 2026-05-17 17:38:01 +00:00
34 lines
938 B
YAML
34 lines
938 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
release-please:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: googleapis/release-please-action@v4
|
|
id: release
|
|
with:
|
|
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
config-file: release-please-config.json
|
|
manifest-file: .release-please-manifest.json
|
|
|
|
- uses: actions/checkout@v4
|
|
if: ${{ steps.release.outputs.release_created }}
|
|
|
|
- name: tag stable version
|
|
if: ${{ steps.release.outputs.release_created }}
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
git tag -d stable 2>/dev/null || true
|
|
git push origin :refs/tags/stable 2>/dev/null || true
|
|
git tag -a stable -m "Last stable release"
|
|
git push origin stable
|