Skip to content

Commit

Permalink
configure goreleaser to run with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxine-krebs committed Jun 11, 2019
1 parent 2f627c4 commit c13f42e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ action "goreleaser" {
]
args = "release"
needs = ["is-tag"]
runs = "cd cmd/nox; goreleaser/goreleaser"
}
1 change: 1 addition & 0 deletions cmd/nox/.goreleaser.yml → .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ brew:
test: "system \"#{bin}/nox --help\"\n"
builds:
-
main: ./cmd/nox
env:
- CGO_ENABLED=0
changelog:
Expand Down
7 changes: 0 additions & 7 deletions cmd/nox/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
GOCMD=go
RELEASECMD=goreleaser
GOINSTALL=$(GOCMD) install
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
Expand All @@ -17,12 +16,6 @@ clean:
$(GOTIDY)
rm -f $(BINARY_NAME)
rm -rf ./dist
next:
$(RELEASECMD) --snapshot --skip-publish --rm-dist
release-dry-run:
$(RELEASECMD) release --skip-publish --rm-dist
release:
$(RELEASECMD)
doc:
$(GOBUILD) -o $(BINARY_NAME) -v
./$(BINARY_NAME) run meta docs
Expand Down

0 comments on commit c13f42e

Please sign in to comment.