Skip to content

bump to 0.2.1

bump to 0.2.1 #15

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev pkg-config
- name: Compile dependencies
run: cargo build --release --locked
- name: Build release artifacts
run: cargo build --release
- name: Add postfix to binary
run: |
VERSION=$(git describe --tags --abbrev=0)
mv target/release/fum target/release/fum-x86-64_${VERSION}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: target/release/fum-x86-64_${{ github.ref_name }}