We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986785c commit 349cab0Copy full SHA for 349cab0
1 file changed
Makefile
@@ -178,6 +178,15 @@ $(PKG):
178
--out $(PKG)
179
180
$(TARBALL): node out/doc
181
+ @if [ $(shell ./node --version) = "$(VERSION)" ]; then \
182
+ exit 0; \
183
+ else \
184
+ echo "" >&2 ; \
185
+ echo "$(shell ./node --version) doesn't match $(VERSION)." >&2 ; \
186
+ echo "Did you remember to update src/node_version.cc?" >&2 ; \
187
188
+ exit 1 ; \
189
+ fi
190
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
191
mkdir -p $(TARNAME)/doc
192
cp doc/node.1 $(TARNAME)/doc/node.1
0 commit comments