Skip to content

chore: bump version to 0.3.4 #8

chore: bump version to 0.3.4

chore: bump version to 0.3.4 #8

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust + Windows target
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-gnu
- name: Install mingw-w64
run: sudo apt-get install -y gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64
- name: Build
run: cargo build --release
- name: Package zip
run: |
VERSION=${{ github.ref_name }}
VER=${VERSION#v}
cp target/x86_64-pc-windows-gnu/release/launcher.exe launcher-${VER}.exe
cp target/x86_64-pc-windows-gnu/release/cec-daemon.exe cec-daemon-${VER}.exe
zip launcher-${VERSION}.zip \
launcher-${VER}.exe \
cec-daemon-${VER}.exe \
config.toml \
install.ps1 \
uninstall.ps1
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: launcher-${{ github.ref_name }}.zip
generate_release_notes: true