Skip to content

Commit

Permalink
chore: fixed make file & release version PR (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicsim1 authored Jul 24, 2022
1 parent 9a577d1 commit e5bb9ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.INTEGRATIONS_FNM_BOT_TOKEN }}
release-type: go
release-type: simple
command: release-pr
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ ifeq ($(GOOS),windows)
rmdir /s /q bin/
endif

ifeq (run,$(firstword $(MAKECMDGOALS)))
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
$(eval $(RUN_ARGS):;@:)
endif

.PHONY: bin/octopus$(EXE)
bin/octopus$(EXE):
go build -o bin/octopus cmd/octopus/main.go

.PHONY: run
run:
go run cmd/octopus/main.go
go run cmd/octopus/main.go $(RUN_ARGS)

.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.3

0 comments on commit e5bb9ca

Please sign in to comment.