Skip to content

Use short version string for --version flag in cli and launcher #12

Use short version string for --version flag in cli and launcher

Use short version string for --version flag in cli and launcher #12

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