From: Thomas Karpiniec Date: Sat, 19 Feb 2022 23:22:13 +0000 (+1100) Subject: Prepare 0.2.0 release with automation X-Git-Tag: v0.2.0~1 X-Git-Url: https://code.octet-stream.net/hashgood/commitdiff_plain/0f159178b5aac4d92a321ad49d53f382d0b64909?ds=inline Prepare 0.2.0 release with automation --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d52bd0d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,39 @@ +name: Release + +on: + push: + tags: + - v[0-9]+.* + +jobs: + create-release: + name: Create GitHub release + if: github.repository_owner == 'thombles' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: taiki-e/create-gh-release-action@v1 + with: + changelog: CHANGELOG.md + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + upload-assets: + needs: create-release + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: windows-latest + features: paste + - os: macos-latest + features: paste + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: taiki-e/upload-rust-binary-action@v1 + with: + bin: hashgood + features: ${{ matrix.features || '' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index f0e3bca..2bb8d25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target -**/*.rs.bk \ No newline at end of file +**/*.rs.bk +.idea diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6010236 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +## 0.2.0 - 2022-02-20 + +#### Features + +* improved error messages if an invalid file path is provided +* support for `NO_COLOR` environment variable diff --git a/Cargo.lock b/Cargo.lock index 0bc61a9..95553f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.15" @@ -131,7 +133,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "hashgood" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clipboard", "crossbeam-channel", diff --git a/Cargo.toml b/Cargo.toml index e586729..f33a620 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "hashgood" -version = "0.1.0" -authors = ["Thomas Karpiniec "] +version = "0.2.0" +authors = ["Thomas Karpiniec "] edition = "2018" [dependencies]