This repository was archived by the owner on Jul 2, 2026. It is now read-only.
chore: migrate from kreuzberg to xberg branding #110
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ secrets.BOT_APP_ID }} | |
| private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }} | |
| owner: xberg-io | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create or refresh GitHub Release | |
| env: | |
| GH_TOKEN: ${{ steps.app-token.outputs.token }} | |
| run: | | |
| # Idempotent: if the tag already has a release (force-pushed during | |
| # pre-1.0 iteration), delete + recreate so notes regenerate from the | |
| # new commit range. Otherwise create fresh. | |
| if gh release view "${GITHUB_REF_NAME}" > /dev/null 2>&1; then | |
| gh release delete "${GITHUB_REF_NAME}" --yes | |
| fi | |
| gh release create "${GITHUB_REF_NAME}" \ | |
| --title "${GITHUB_REF_NAME}" \ | |
| --generate-notes |