Skip to content

Commit

Permalink
uncomplicate releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancurrah committed May 27, 2021
1 parent 9caceb7 commit a87b317
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
current_dir = $(shell pwd)
version = $(shell printf '%s' $$(cat VERSION))

.PHONEY: lint
lint:
Expand All @@ -9,10 +8,6 @@ lint:
build:
go build -o gomodguard cmd/gomodguard/main.go

.PHONEY: dockerbuild
dockerbuild:
docker build --build-arg GOMODGUARD_VERSION=${version} --tag ryancurrah/gomodguard:${version} .

.PHONEY: run
run: build
./gomodguard
Expand All @@ -31,9 +26,7 @@ dockerrun: dockerbuild

.PHONEY: release
release:
git tag ${version}
git push --tags
goreleaser --skip-validate --rm-dist
goreleaser --rm-dist

.PHONEY: clean
clean:
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit a87b317

Please sign in to comment.