Skip to content

chore(main): release wootty 0.2.2 (#9) #24

chore(main): release wootty 0.2.2 (#9)

chore(main): release wootty 0.2.2 (#9) #24

name: Release Please
on:
push:
branches:
- main
workflow_dispatch:
permissions:
actions: write
contents: write
pull-requests: write
issues: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Release Please
id: release
uses: googleapis/release-please-action@v4
with:
target-branch: main
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
publish-image:
name: Dispatch Image Publish
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created == 'true' }}
steps:
- name: Trigger publish-image workflow for released tag
run: |
gh workflow run publish-image.yml \
--repo "${{ github.repository }}" \
--ref main \
-f tag="${{ needs.release-please.outputs.tag_name }}"
env:
GH_TOKEN: ${{ github.token }}