Skip to content

Commit

Permalink
chore (release): v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Apr 3, 2022
1 parent d98208f commit b0e871c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:

workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
binaries:
strategy:
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 1 addition & 3 deletions src/cli/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit b0e871c

Please sign in to comment.