From 6c2c4d4aca1845b7b1cb60f28ab8bc51479e48ad Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Tue, 6 Oct 2015 14:16:47 -0500 Subject: [PATCH] Removes the script that bumps versions, this is now done when packaging. --- Makefile | 2 +- bump-js-versions.sh | 34 ---------------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100755 bump-js-versions.sh diff --git a/Makefile b/Makefile index fe01880d6..0a9f67b92 100644 --- a/Makefile +++ b/Makefile @@ -17,12 +17,12 @@ clean: deploy: mkdir -p $(DEPLOY_DIR) && \ cp $(OUTPUT_DIR)/app.bundle.min.js $(OUTPUT_DIR)/app.bundle.min.map $(DEPLOY_DIR) && \ - ./bump-js-versions.sh && \ ([ ! -x deploy-local.sh ] || ./deploy-local.sh) uglify: $(UGLIFYJS) -p relative $(OUTPUT_DIR)/app.bundle.js -o $(OUTPUT_DIR)/app.bundle.min.js --source-map $(OUTPUT_DIR)/app.bundle.min.map --in-source-map $(OUTPUT_DIR)/app.bundle.js.map + source-package: mkdir -p source_package/jitsi-meet && \ cp -r analytics.js css external_api.js favicon.ico fonts images index.html interface_config.js libs plugin.*html sounds title.html unsupported_browser.html LICENSE config.js lang source_package/jitsi-meet && \ diff --git a/bump-js-versions.sh b/bump-js-versions.sh deleted file mode 100755 index e7d9aee53..000000000 --- a/bump-js-versions.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -if ! which git > /dev/null 2>&1 ;then - echo "Cannot find git executable, not bumping js versions." - exit -fi -if ! git status > /dev/null 2>&1 ;then - echo "Not a git repository, not bumping js versions." - exit -fi - -# This script finds all js files included from index.html which have been -# modified and bumps their version (the value of the "v" parameter used -# in index.html) - -# contents of index.html at HEAD (excluding not-committed changes) -index=`git show HEAD:index.html` - -# js files included from index.html. The sort needed for comm -jsfiles=.bump-js-versions-jsfiles.tmp -echo "$index" | grep '