chore: bump version to 0.2.2

This commit is contained in:
spacemeowx2 2021-01-01 01:47:13 +08:00
parent 405ff37827
commit 82c3310d11
4 changed files with 32 additions and 4 deletions

30
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,30 @@
on:
release:
types: [published]
name: Publish
jobs:
publish:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Cargo
uses: actions/cache@v1
with:
path: ~/.cargo
key: ubuntu-latest-stable-cargo-v1
restore-keys: |
ubuntu-latest-stable-cargo-v1
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: cargo publish
uses: actions-rs/cargo@v1
with:
command: publish
args: -p blflash --token ${{ secrets.CRATES_IO_TOKEN }}

View File

@ -87,5 +87,3 @@ jobs:
file: target/${{ matrix.target }}/release/blflash
asset_name: blflash-${{ matrix.target }}
tag: ${{ github.ref }}

2
Cargo.lock generated
View File

@ -84,7 +84,7 @@ dependencies = [
[[package]]
name = "blflash"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"byteorder",
"crc",

View File

@ -1,7 +1,7 @@
[package]
name = "blflash"
description = "BL602 serial flasher."
version = "0.2.1"
version = "0.2.2"
authors = ["spacemeowx2 <spacemeowx2@gmail.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"