We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9914bf4 commit e6b1655Copy full SHA for e6b1655
Makefile
@@ -66,7 +66,7 @@ clean:
66
RVER:=$(shell cat version)
67
VER:=$(shell ./VERSION-GEN)
68
# The first two dots: 1.2.3 -> 1.2
69
-MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+\)[.]\([^.]\+\)[.]\([^.]\+\)[.].*$$|\1.\2|' )
+MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+[.][^.]\+\).*$$|\1|' )
70
71
.PHONY: prepare-release tag upload
72
prepare-release:
@@ -104,4 +104,4 @@ upload: build
104
@echo ' [*] Now run: '
105
@echo '(cd ../sockjs-client-gh-pages; git push; )'
106
@echo '(cd ../sockjs-client-gh-pages; \
107
- s3cmd sync . s3://sockjs --acl-public --exclude ".*" --include index.html --include $(ARTIFACTS); );'
+ s3cmd put --acl-public index.html $(ARTIFACTS) s3://sockjs; );'
0 commit comments