8000 fix(inkless:build): omit commitId in make build_release outside git by jeqo · Pull Request #856 · aiven/inkless · GitHub
[go: up one dir, main page]

Skip to content
Open
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build_all:

core/build/distributions/kafka_2.13-$(VERSION).tgz:
echo "Building Kafka distribution with version $(VERSION)"
./gradlew releaseTarGz -PcommitId=$$(git rev-parse HEAD)
./gradlew releaseTarGz $$(commit=$$(git rev-parse HEAD 2>/dev/null) && echo "-PcommitId=$$commit")

.PHONY: build_release
build_release: core/build/distributions/kafka_2.13-$(VERSION).tgz
Expand Down
Loading
0