Update release-please.yml

Signed-off-by: AvaLilac <amyshimplays@gmail.com>
This commit is contained in:
AvaLilac 2026-03-18 13:07:46 -04:00 committed by GitHub
parent f9a01a3a1a
commit f9c3108590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,18 +34,16 @@ jobs:
token: ${{ steps.app-token.outputs.token }} token: ${{ steps.app-token.outputs.token }}
config-file: release-please-config.json config-file: release-please-config.json
# Notify Stoat webhook immediately after release is created # Notify Stoat webhook immediately after release is created
- name: Notify Stoat - name: Notify Stoat
if: steps.rp.outputs.release_created == 'true' if: steps.rp.outputs.release_created == 'true'
run: | run: |
RELEASE_TAG="${{ steps.rp.outputs.release_tag }}" RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ steps.rp.outputs.release_tag }}"
RELEASE_NAME="${{ steps.rp.outputs.release_name }}" MSG="🚀 New release: ${{ steps.rp.outputs.release_name }} (${{ steps.rp.outputs.release_tag }}) - $RELEASE_URL"
URL="https://github.com/${{ github.repository }}/releases/tag/${RELEASE_TAG}"
MSG="🚀 New release: $RELEASE_NAME ($RELEASE_TAG) - $URL"
curl -X POST "https://stoat.chat/api/webhooks/01KM0VR768BP5W0CAB54ASK2QP/ruEjyZDLwgOip8ClH_oURUPu3LehRz_7yEXb1VVdO5ZuX2d4Pd8-z7aN0aQWmbrj" \ curl -X POST "https://stoat.chat/api/webhooks/01KM0VR768BP5W0CAB54ASK2QP/ruEjyZDLwgOip8ClH_oURUPu3LehRz_7yEXb1VVdO5ZuX2d4Pd8-z7aN0aQWmbrj" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{\"content\":\"$MSG\"}" -d "{\"content\":\"$MSG\"}"
publish-release: publish-release:
name: Publish App name: Publish App