mirror of
https://github.com/MedzikUser/imgurs
synced 2024-08-15 00:03:19 +00:00
chore (release): v0.7.0
This commit is contained in:
parent
d98208f677
commit
b0e871cbf6
5 changed files with 10 additions and 6 deletions
3
.github/workflows/build-release-binaries.yml
vendored
3
.github/workflows/build-release-binaries.yml
vendored
|
@ -9,6 +9,9 @@ on:
|
|||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
binaries:
|
||||
strategy:
|
||||
|
|
|
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
<!-- next-header -->
|
||||
|
||||
## [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
|
||||
|
||||
<!-- 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.5.1]: https://github.com/MedzikUser/imgurs/commits/v0.5.1
|
||||
[0.5.0]: https://github.com/MedzikUser/imgurs/commits/v0.5.0
|
||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -829,7 +829,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "imgurs"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arboard",
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue