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 // try pull
git.pull('origin', 'master', gitOptions, function(error) { git.pull('origin', 'master', gitOptions, function(error) {
console.log('a');
// local repo doesn't exist
if(error) { if(error) {
console.log('b');
// initialize local repo
git.init(gitOptions, function(error) { git.init(gitOptions, function(error) {
console.log('c');
if(error) { if(error) {
console.error('Error initializing repo'); console.error('Error initializing repo');
throw error; throw error;
} }
// add remote url
git.addRemote('origin', gitURL, gitOptions, function(error){ git.addRemote('origin', gitURL, gitOptions, function(error){
if(error) { if(error) {
console.error('Unable to add remote', error); console.error('Unable to add remote', error);
} }
// try pull
git.pull('origin', 'master', function(error) { git.pull('origin', 'master', function(error) {
if(error) { if(error) {
console.error('Cannot pull from repository', error); console.error('Cannot pull from repository', error);
} }
}); });
}); });
}); });
} }

6
package.json

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

Loading…
Cancel
Save