You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/12/12 01:32:49 UTC

[1/2] git commit: added version file

Updated Branches:
  refs/heads/master 6eb2185a7 -> 30f9be951


added version file


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/abdb1752
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/abdb1752
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/abdb1752

Branch: refs/heads/master
Commit: abdb17524cf03347816d246192cae28fd5bc4ca6
Parents: 6eb2185
Author: Steven Gill <st...@gmail.com>
Authored: Wed Dec 11 16:31:09 2013 -0800
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Dec 11 16:32:05 2013 -0800

----------------------------------------------------------------------
 bin/templates/project/cordova/version     | 25 +++++++++++++++++++++++++
 bin/templates/project/cordova/version.bat | 26 ++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/abdb1752/bin/templates/project/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/version b/bin/templates/project/cordova/version
new file mode 100755
index 0000000..a40f712
--- /dev/null
+++ b/bin/templates/project/cordova/version
@@ -0,0 +1,25 @@
+#!/usr/bin/env node
+
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
+
+// Coho updates this line:
+var VERSION = "3.3.0";
+
+console.log(VERSION);

http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/abdb1752/bin/templates/project/cordova/version.bat
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/version.bat b/bin/templates/project/cordova/version.bat
new file mode 100644
index 0000000..3610c17
--- /dev/null
+++ b/bin/templates/project/cordova/version.bat
@@ -0,0 +1,26 @@
+:: Licensed to the Apache Software Foundation (ASF) under one
+:: or more contributor license agreements.  See the NOTICE file
+:: distributed with this work for additional information
+:: regarding copyright ownership.  The ASF licenses this file
+:: to you under the Apache License, Version 2.0 (the
+:: "License"); you may not use this file except in compliance
+:: with the License.  You may obtain a copy of the License at
+::
+:: http://www.apache.org/licenses/LICENSE-2.0
+::
+:: Unless required by applicable law or agreed to in writing,
+:: software distributed under the License is distributed on an
+:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+:: KIND, either express or implied.  See the License for the
+:: specific language governing permissions and limitations
+:: under the License.
+
+@ECHO OFF
+SET script_path="%~dp0version"
+IF EXIST %script_path% (
+        node %script_path% %*
+) ELSE (
+    ECHO.
+    ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2
+    EXIT /B 1
+)


[2/2] git commit: fixed version script on master

Posted by st...@apache.org.
fixed version script on master


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/30f9be95
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/30f9be95
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/30f9be95

Branch: refs/heads/master
Commit: 30f9be95111229f53c9040f5b2728769b8521471
Parents: abdb175
Author: Steven Gill <st...@gmail.com>
Authored: Wed Dec 11 16:32:45 2013 -0800
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Dec 11 16:32:45 2013 -0800

----------------------------------------------------------------------
 bin/templates/project/cordova/version | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/30f9be95/bin/templates/project/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/version b/bin/templates/project/cordova/version
index a40f712..61b62e6 100755
--- a/bin/templates/project/cordova/version
+++ b/bin/templates/project/cordova/version
@@ -20,6 +20,6 @@
 */
 
 // Coho updates this line:
-var VERSION = "3.3.0";
+var VERSION = "3.4.0-dev";
 
 console.log(VERSION);