Skip to content

chore(cmake): bump version to 0.9.4 #1

chore(cmake): bump version to 0.9.4

chore(cmake): bump version to 0.9.4 #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
build:
uses: ./.github/workflows/build.yml
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v8
with:
pattern: '{windows-portable,linux-appimage,macos-dmgs}'
path: artifacts
merge-multiple: true
- name: Create draft release and upload assets
env:
GH_TOKEN: ${{ github.token }}
run: |
tag="$GITHUB_REF_NAME"
if ! gh release view "$tag" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
gh release create "$tag" --repo "$GITHUB_REPOSITORY" \
--draft --title "cr2xt ${tag#v}" --generate-notes
fi
gh release upload "$tag" --repo "$GITHUB_REPOSITORY" --clobber \
artifacts/*.AppImage \
artifacts/*.dmg \
artifacts/*.zip \
artifacts/*.7z