Skip to content

Commit e6b1655

Browse files
committed
Further makefile tweaks
1 parent 9914bf4 commit e6b1655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ clean:
6666
RVER:=$(shell cat version)
6767
VER:=$(shell ./VERSION-GEN)
6868
# The first two dots: 1.2.3 -> 1.2
69-
MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+\)[.]\([^.]\+\)[.]\([^.]\+\)[.].*$$|\1.\2|' )
69+
MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+[.][^.]\+\).*$$|\1|' )
7070

7171
.PHONY: prepare-release tag upload
7272
prepare-release:
@@ -104,4 +104,4 @@ upload: build
104104
@echo ' [*] Now run: '
105105
@echo '(cd ../sockjs-client-gh-pages; git push; )'
106106
@echo '(cd ../sockjs-client-gh-pages; \
107-
s3cmd sync . s3://sockjs --acl-public --exclude ".*" --include index.html --include $(ARTIFACTS); );'
107+
s3cmd put --acl-public index.html $(ARTIFACTS) s3://sockjs; );'

0 commit comments

Comments
 (0)