Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit ac96d21

Browse files
committed
Only redefine dist based on tag presence
1 parent c6beefd commit ac96d21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ check: build
6464
ifeq ($(vsn_tag),)
6565

6666
.PHONY: dist
67-
dist distcheck:
67+
dist:
6868
$(error No tag found for release)
6969

7070
else
@@ -78,6 +78,8 @@ dist:
7878
HEAD
7979
@echo "Done: apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz"
8080

81+
endif
82+
8183
.PHONY: distcheck
8284
distcheck: export HUSKY_SKIP_INSTALL=1
8385
distcheck: dist
@@ -91,5 +93,3 @@ distsign: dist
9193
> apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha256
9294
@sha512sum apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
9395
> apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha512
94-
95-
endif

0 commit comments

Comments
 (0)