Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Last changes in prep for a new release #79

Merged
merged 2 commits into from
Feb 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,24 @@ brew:
folder: Formula
homepage: https://github.com/fastly/waflyctl
description: Allows you to provision a Fastly waf object with pre-determine rules, OWASP config, response, and logging endpoints. Also manage rules, and their status.
custom_block: |
head do
url "https://github.com/fastly/waflyctl.git"
depends_on "dep" => :build
depends_on "go" => :build
end
install: |
def install
if build.head?
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/fastly/waflyctl").install buildpath.children
cd "src/github.com/fastly/waflyctl" do
system "dep", "ensure", "-vendor-only"
system "go", "build", "-o", buildpath/"waflyctl"
end
end

bin.install "waflyctl"
end
test: |
system "#{bin}/waflyctl"
2 changes: 1 addition & 1 deletion waflyctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ func validateVersion(client fastly.Client, serviceID string, version int) bool {
Error.Println("Version invalid")
return false
}
Info.Printf("Config Version %v Validated successfully", version)
Info.Printf("Config Version %v validated. Remember to activate it", version)
return true

}
Expand Down