chore: release v2.9.0 #5
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 Trae Solo Skills | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify tag matches VERSION | |
| run: | | |
| set -euo pipefail | |
| VERSION="$(tr -d '[:space:]' < VERSION)" | |
| TAG="${GITHUB_REF_NAME#v}" | |
| if [ "$VERSION" != "$TAG" ]; then | |
| echo "tag ${GITHUB_REF_NAME} doesn't match VERSION ${VERSION}" >&2 | |
| exit 1 | |
| fi | |
| - name: Build skill bundle | |
| run: bash tools/build-skills.sh | |
| - name: Create GitHub Release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| set -euo pipefail | |
| VERSION="$(tr -d '[:space:]' < VERSION)" | |
| gh release create "${GITHUB_REF_NAME}" \ | |
| --title "${GITHUB_REF_NAME}" \ | |
| --generate-notes \ | |
| "dist/skills/dbskill-${VERSION}.zip" |