Skip to content

chore: bump version to v0.19.2 #29

chore: bump version to v0.19.2

chore: bump version to v0.19.2 #29

Workflow file for this run

---
name: Release
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
build-release:
name: build-release
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-tags: false # https://github.com/actions/checkout/issues/1467
- run: git fetch --tags --all --force && git pull origin ${{ github.ref }} --unshallow --force
name: Fetch tags manually as a workaround. See https://github.com/actions/checkout/issues/1467
- name: Install Rust
uses: dtolnay/rust-toolchain@4f647fc679bcd3b11499ccb42104547c83dabe96 # stable
with:
profile: minimal
override: true
toolchain: '1.83.0'
target: wasm32-wasip1
- name: Build release binary
run: cargo build --release
- name: Generate a changelog
uses: orhun/git-cliff-action@4a4a951bc43fafe41cd2348d181853f52356bee7 # v3
id: git-cliff
with:
config: cliff.toml
args: -vv --latest --strip header
env:
OUTPUT: CHANGES.md
- name: Create release
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
body: ${{ steps.git-cliff.outputs.content }}
prerelease: false
files: |
./target/wasm32-wasip1/release/zjstatus.wasm
./target/wasm32-wasip1/release/zjframes.wasm