chore: updated version to 0.2.0 #2
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 ClassWidgets-2 SDK | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⬇️ Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: 🧱 Set up git-cliff | |
| uses: kenji-miyake/setup-git-cliff@v2 | |
| - name: 📜 Generate CHANGELOG.md | |
| run: | | |
| git cliff --latest --tag "${{ github.ref_name }}" --config .git-cliff.toml > CHANGELOG.md | |
| - name: 🚀 Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: Class Widgets 2 SDK ${{ github.ref_name }} | |
| tag_name: ${{ github.ref_name }} | |
| body_path: CHANGELOG.md | |
| prerelease: ${{ github.event_name == 'push' || github.ref != 'refs/heads/main' }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |