Skip to content

Commit

Permalink
update version string
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Oct 30, 2022
1 parent ef25232 commit e287d6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ next_version_number := $(shell echo $$(($(current_version_number)+1)))
install:
go build -o $$GOPATH/bin/codecrafters cmd/codecrafters/main.go

install_latest_from_github:
curl -Lo $$GOPATH/bin/codecrafters https://github.com/codecrafters-io/cli/releases/download/v$(current_version_number)/v$(current_version_number)_darwin_arm64


release:
git tag v$(next_version_number)
git push origin main v$(next_version_number)
Expand Down
2 changes: 1 addition & 1 deletion cmd/codecrafters/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ USAGE
COMMANDS
test: run tests on project in current directory
`, fmt.Sprintf("v%s (%s)", version, commit[:7]))
`, fmt.Sprintf("v%s-%s", version, commit[:7]))

}

Expand Down

0 comments on commit e287d6f

Please sign in to comment.