Use short version string for --version flag in cli and launcher #12
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: Publish Release | |
| on: | |
| push: | |
| tags: | |
| - '202[0-9].[0-9]+.[0-9]+' | |
| permissions: | |
| id-token: write | |
| attestations: write | |
| contents: write | |
| jobs: | |
| build_release_artifacts: | |
| uses: ./.github/workflows/build_release_artifacts.yaml | |
| release: | |
| name: Build MacOS and Linux release artifacts | |
| runs-on: ubuntu-latest | |
| needs: build_release_artifacts | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Download release artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| merge-multiple: true | |
| - name: Display structure of downloaded files | |
| run: ls -R | |
| - name: Calculate shasum | |
| run: shasum -a 256 assets/* > sha256 | |
| - name: Prepare workspace snippet | |
| run: .github/workflows/install_snippet.sh > release_notes.txt | |
| - name: Create GitHub draft release and upload artifacts | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| # Use GH feature to populate the changelog automatically | |
| generate_release_notes: true | |
| body_path: release_notes.txt | |
| files: | | |
| assets/* | |
| sha256 |