Skip to content

Commit

Permalink
Update tshare.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko authored Oct 5, 2023
1 parent 340322e commit eff8366
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tshare.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
class Tshare < Formula

desc "Share files from CLI, using transfer.sh"
homepage "https://github.com/trikko/tshare"
url "https://github.com/trikko/tshare/archive/refs/tags/v1.0.3.tar.gz"
sha256 "30a5902cc02655a5561748db3cec11d4c5a2992a9545db68682c370f2f903427"
url "https://github.com/trikko/tshare/archive/refs/tags/v1.0.4.tar.gz"
sha256 "4c37ac39b3a76acdb728875cedf01129a60444a508835de2016c897ab8aba09b"
license "MIT"
head "https://github.com/trikko/tshare.git", branch: "main"

Expand All @@ -28,7 +27,6 @@ def install
end

test do
assert_match /^tshare\/[0-9.]+ \(https:\/\/github.com\/trikko\/tshare\)/, shell_output("#{bin}/tshare --version").chomp
assert_equal "tshare/1.0 (https://github.com/trikko/tshare)", shell_output("#{bin}/tshare --version").chomp
end

end

0 comments on commit eff8366

Please sign in to comment.