Skip to content

Commit

Permalink
feat: formula v0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Apr 21, 2024
1 parent 4801a0d commit 3972d57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Casks/aliae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
desc "Cross shell and platform alias management"
homepage "https://aliae.dev"
arch arm: "arm64", intel: "amd64"
version "0.20.1"
version "0.21.0"
url "https://github.com/JanDeDobbeleer/aliae/releases/download/v#{version}/aliae-darwin-#{arch}"
sha256 arm: "0839deb1b4bc6477235ab42873bd7400a79e258043b5007dd4e0aa65b6179928",
intel: "26c53b488d25fb3dabdfc0a68c5e8fa587776fa93b4685ed7896af600f718cbb"
sha256 arm: "c943447a1e73bdf408020e913a46a0d5240232ebfdedd59adb54a7debc391222",
intel: "74a53b7bce13503dade21115acefbe25bc50f6f4dec8999095986f22b15a0087"
name "aliae"
binary "aliae-darwin-#{arch}", target: "aliae"
auto_updates true
Expand Down
8 changes: 4 additions & 4 deletions aliae.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class Aliae < Formula
desc "Cross shell and platform alias management"
homepage "https://aliae.dev"
url "https://github.com/JanDeDobbeleer/aliae/archive/v0.20.1.tar.gz"
url "https://github.com/JanDeDobbeleer/aliae/archive/v0.21.0.tar.gz"
head "https://github.com/JanDeDobbeleer/aliae.git", branch: "main"
sha256 "7be431c7ca483065dd35836051d9215a500b80b72cef585759604a46b4ae2ddc"
sha256 "ad7d2d835af0b01e99edb022ed13b8c801b8a4c0afcc113e79972782573541ec"
license "MIT"
version "0.20.1"
version "0.21.0"

depends_on "[email protected]" => :build

def install
Dir.chdir("src") do
ENV["GOPROXY"] = ENV.has_key?("HOMEBREW_GOPROXY") ? ENV["HOMEBREW_GOPROXY"] : ""
system("go build -o=aliae -ldflags=\"-s -w -X \'main.Version=0.20.1\'\"")
system("go build -o=aliae -ldflags=\"-s -w -X \'main.Version=0.21.0\'\"")
bin.install "aliae"
end
end
Expand Down

0 comments on commit 3972d57

Please sign in to comment.