Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
remove release task
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Apr 2, 2014
1 parent 0fdae12 commit 5f798fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jsonview",
"description": "jQuery plugin for display pretty JSON.",
"version": "1.0.0",
"version": "1.1.0",
"main": "dist/jquery.jsonview.js",
"keywords": [
"json"
Expand Down
8 changes: 0 additions & 8 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ sass = require 'gulp-ruby-sass'
concat = require 'gulp-concat'
mocha = require 'gulp-mocha'
preprocess = require 'gulp-preprocess'
exec = require 'gulp-exec'
fs = require 'fs'

gulp.task 'default', ['mocha']
Expand Down Expand Up @@ -73,10 +72,3 @@ gulp.task 'package', ->
json1[key] = json2[key] for key of json2
fs.writeFile 'bower.json', JSON.stringify(json1, null, 2)

gulp.task 'release', ['dist', 'package'], ->
data = fs.readFileSync 'package.json', 'utf8'
pkg = JSON.parse(data)
exec "git tag v<%= pkg.version %>"
exec 'git push origin master --tags'
exec 'npm publish'

4 changes: 2 additions & 2 deletions jsonview.jquery.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "jsonview",
"description": "jQuery plugin for display pretty JSON.",
"version": "1.0.0",
"version": "1.1.0",
"author": {
"name": "Wei Zhu",
"name": "Meck",
"url": "http://yesmeck.com"
},
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"gulp-ruby-sass": "^0.4.0",
"gulp-concat": "^2.2.0",
"gulp-mocha": "^0.4.1",
"gulp-preprocess": "^1.0.1",
"gulp-exec": "^1.0.4"
"gulp-preprocess": "^1.0.1"
},
"jqueryJSON": {
"title": "jQuery JSONView",
Expand Down

0 comments on commit 5f798fa

Please sign in to comment.