]> code.octet-stream.net Git - hashgood/commitdiff
Prepare 0.2.0 release with automation
authorThomas Karpiniec <tom@ditto.live>
Sat, 19 Feb 2022 23:22:13 +0000 (10:22 +1100)
committerThomas Karpiniec <tom@ditto.live>
Sat, 19 Feb 2022 23:22:13 +0000 (10:22 +1100)
.github/workflows/release.yml [new file with mode: 0644]
.gitignore
CHANGELOG.md [new file with mode: 0644]
Cargo.lock
Cargo.toml

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644 (file)
index 0000000..d52bd0d
--- /dev/null
@@ -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 }}
index f0e3bcacb9733fbc37c28e13d9846c134d8dd1ca..2bb8d25317b523e16f268d636e6c90d67023b5d6 100644 (file)
@@ -1,2 +1,3 @@
 /target
 /target
-**/*.rs.bk
\ No newline at end of file
+**/*.rs.bk
+.idea
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644 (file)
index 0000000..6010236
--- /dev/null
@@ -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
index 0bc61a9ee484d6f2f4d09f935d5cdcbf73d1adc4..95553f9b4f03e16a561a58a52b747380d8071115 100644 (file)
@@ -1,5 +1,7 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "aho-corasick"
 version = "0.7.15"
 [[package]]
 name = "aho-corasick"
 version = "0.7.15"
@@ -131,7 +133,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2"
 
 [[package]]
 name = "hashgood"
 
 [[package]]
 name = "hashgood"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "clipboard",
  "crossbeam-channel",
 dependencies = [
  "clipboard",
  "crossbeam-channel",
index e586729c22bfcd62bc0d9588b8731ce4b13b8f25..f33a620e732592ce57b37c5df1edb15fd0c71463 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 name = "hashgood"
 [package]
 name = "hashgood"
-version = "0.1.0"
-authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com>"]
+version = "0.2.0"
+authors = ["Thomas Karpiniec <tkarpiniec@icloud.com>"]
 edition = "2018"
 
 [dependencies]
 edition = "2018"
 
 [dependencies]