From b0e871cbf6b5a41293854dec12a6973faee97fa2 Mon Sep 17 00:00:00 2001 From: MedzikUser Date: Sun, 3 Apr 2022 21:43:50 +0200 Subject: [PATCH] chore (release): v0.7.0 --- .github/workflows/build-release-binaries.yml | 3 +++ CHANGELOG.md | 5 ++++- Cargo.lock | 2 +- Cargo.toml | 2 +- src/cli/clipboard.rs | 4 +--- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 35b9c02..be74bf7 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -9,6 +9,9 @@ on: workflow_dispatch: +env: + CARGO_TERM_COLOR: always + jobs: binaries: strategy: diff --git a/CHANGELOG.md b/CHANGELOG.md index a9caafa..0d0fcd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + +## [0.7.0] - 2022-04-04 ### CLI - completions: changed type from String to Shell - removed `&` from `cli.commands` (line 54 in [parse.rs](./src/cli/parse.rs)) @@ -97,7 +99,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - upload image -[Unreleased]: https://github.com/MedzikUser/imgurs/compare/v0.6.0...HEAD +[Unreleased]: https://github.com/MedzikUser/imgurs/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/MedzikUser/imgurs/commits/v0.7.0 [0.6.0]: https://github.com/MedzikUser/imgurs/commits/v0.6.0 [0.5.1]: https://github.com/MedzikUser/imgurs/commits/v0.5.1 [0.5.0]: https://github.com/MedzikUser/imgurs/commits/v0.5.0 diff --git a/Cargo.lock b/Cargo.lock index 76e2e84..59ddba5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -829,7 +829,7 @@ dependencies = [ [[package]] name = "imgurs" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "arboard", diff --git a/Cargo.toml b/Cargo.toml index 2fd5297..2a507e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/MedzikUser/imgurs.git" keywords = ["imgur", "imgur-api", "image", "image-upload"] categories = ["command-line-utilities"] rust-version = "1.58" -version = "0.6.0" +version = "0.7.0" edition = "2021" [profile.release] diff --git a/src/cli/clipboard.rs b/src/cli/clipboard.rs index 6e66671..46aa09a 100644 --- a/src/cli/clipboard.rs +++ b/src/cli/clipboard.rs @@ -81,7 +81,5 @@ pub fn set_clipboard(content: String) { )))] pub fn set_clipboard(content: String) { let mut clipboard = arboard::Clipboard::new().unwrap(); - clipboard - .set_text(content) - .execute(format!("set clipboard to '{content}'")); + clipboard.set_text(content).unwrap(); }