chore (release): v0.7.0

This commit is contained in:
MedzikUser 2022-04-03 21:43:50 +02:00
parent d98208f677
commit b0e871cbf6
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
5 changed files with 10 additions and 6 deletions

View File

@ -9,6 +9,9 @@ on:
workflow_dispatch: workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs: jobs:
binaries: binaries:
strategy: strategy:

View File

@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- next-header --> <!-- next-header -->
## [Unreleased] ## [Unreleased]
## [0.7.0] - 2022-04-04
### CLI ### CLI
- completions: changed type from String to Shell - completions: changed type from String to Shell
- removed `&` from `cli.commands` (line 54 in [parse.rs](./src/cli/parse.rs)) - 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 - upload image
<!-- next-url --> <!-- next-url -->
[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.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.1]: https://github.com/MedzikUser/imgurs/commits/v0.5.1
[0.5.0]: https://github.com/MedzikUser/imgurs/commits/v0.5.0 [0.5.0]: https://github.com/MedzikUser/imgurs/commits/v0.5.0

2
Cargo.lock generated
View File

@ -829,7 +829,7 @@ dependencies = [
[[package]] [[package]]
name = "imgurs" name = "imgurs"
version = "0.6.0" version = "0.7.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arboard", "arboard",

View File

@ -9,7 +9,7 @@ repository = "https://github.com/MedzikUser/imgurs.git"
keywords = ["imgur", "imgur-api", "image", "image-upload"] keywords = ["imgur", "imgur-api", "image", "image-upload"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
rust-version = "1.58" rust-version = "1.58"
version = "0.6.0" version = "0.7.0"
edition = "2021" edition = "2021"
[profile.release] [profile.release]

View File

@ -81,7 +81,5 @@ pub fn set_clipboard(content: String) {
)))] )))]
pub fn set_clipboard(content: String) { pub fn set_clipboard(content: String) {
let mut clipboard = arboard::Clipboard::new().unwrap(); let mut clipboard = arboard::Clipboard::new().unwrap();
clipboard clipboard.set_text(content).unwrap();
.set_text(content)
.execute(format!("set clipboard to '{content}'"));
} }