Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improving URLs on linuxbrew (#1900)
* fix: improving URLs on linuxbrew Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * refactor: rename template fields Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix(tests): adapts brew test formulas and docs * Revert "fix(tests): adapts brew test formulas and docs" This reverts commit 51dd8cf. * fix: template Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: fixed example Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> Co-authored-by: Manuel Vogel <mavogel@posteo.de>
- Loading branch information
Showing
15 changed files
with
134 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
class Test < Formula | ||
desc "Some desc" | ||
homepage "https://google.com" | ||
version "0.1.3" | ||
bottle :unneeded | ||
depends_on :linux | ||
|
||
if OS.linux? && Hardware::CPU.intel? | ||
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Linux_x86_64.tar.gz" | ||
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67" | ||
end | ||
if OS.linux? && Hardware::CPU.arm? && !Hardware::CPU.is_64_bit? | ||
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm6.tar.gz" | ||
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67" | ||
end | ||
if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit? | ||
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm64.tar.gz" | ||
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67" | ||
end | ||
|
||
def install | ||
bin.install "test" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b4f154d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: