Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Add build number field for release number.
Browse files Browse the repository at this point in the history
Brackets won't start with a 1.0.0 version number. This also bumps the version number to 1.0.0-0.
  • Loading branch information
dangoor committed Oct 28, 2014
1 parent e23f7b6 commit 2ab324a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Brackets",
"version": "0.45.0-0",
"apiVersion": "0.45.0",
"version": "1.0.0-0",
"apiVersion": "1.0.0",
"homepage": "http://brackets.io",
"issues": {
"url": "http://github.com/adobe/brackets/issues"
Expand Down
4 changes: 2 additions & 2 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build_timestamp": ""
},
"name": "Brackets",
"version": "0.45.0-0",
"apiVersion": "0.45.0",
"version": "1.0.0-0",
"apiVersion": "1.0.0",
"homepage": "http://brackets.io",
"issues": {
"url": "http://github.com/adobe/brackets/issues"
Expand Down
2 changes: 1 addition & 1 deletion tasks/update-release-number.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function (grunt) {
grunt.fail.fatal("Please specify a release. e.g. grunt update-release-number --release=1.1.0");
}

packageJSON.version = release;
packageJSON.version = release + "-0";
packageJSON.apiVersion = release;

common.writeJSON(grunt, path, packageJSON);
Expand Down

0 comments on commit 2ab324a

Please sign in to comment.