Browse Source

Fix package.json to point to 1.0 branch

pull/1191/merge
jlukic 10 years ago
parent
commit
81df5abb14
2 changed files with 11 additions and 6 deletions
  1. 11
      gulpfile.js
  2. 6
      package.json

11
gulpfile.js

@ -687,24 +687,29 @@ gulp.task('release components', false, function() {
// try pull
git.pull('origin', 'master', gitOptions, function(error) {
console.log('a');
// local repo doesn't exist
if(error) {
console.log('b');
// initialize local repo
git.init(gitOptions, function(error) {
console.log('c');
if(error) {
console.error('Error initializing repo');
throw error;
}
// add remote url
git.addRemote('origin', gitURL, gitOptions, function(error){
if(error) {
console.error('Unable to add remote', error);
}
// try pull
git.pull('origin', 'master', function(error) {
if(error) {
console.error('Cannot pull from repository', error);
}
});
});
});
}

6
package.json

@ -4,20 +4,19 @@
"title": "Semantic UI",
"description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.",
"homepage": "http://www.semantic-ui.com",
"author": "Jack Lukic <jacklukic@gmail.com>",
"author": "Jack Lukic <jack@semantic-ui.com>",
"license": "MIT",
"scripts": {
"test": "gulp test"
},
"repository": {
"type": "git",
"url": "git://github.com/Semantic-Org/Semantic-UI.git"
"url": "git://github.com/Semantic-Org/Semantic-UI.git#1.0"
},
"bugs": {
"url": "https://github.com/Semantic-Org/Semantic-UI/issues"
},
"dependencies": {
"gulp-git": "^0.5.3",
"jquery": "x.x.x"
},
"devDependencies": {
@ -35,6 +34,7 @@
"gulp-csscomb": "^3.0.3",
"gulp-debug": "^1.0.1",
"gulp-flatten": "0.0.4",
"gulp-git": "^0.5.3",
"gulp-header": "^1.1.1",
"gulp-help": "^1.2.0",
"gulp-json-editor": "^2.1.0",

Loading…
Cancel
Save