Skip to content

Commit

Permalink
release 0.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren McCarthy committed Sep 5, 2015
1 parent e64a40a commit e7632ba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
19 changes: 17 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,27 @@ module.exports = function(grunt) {
},
release: {
options: {
folder: 'p5-release', //default project root
github: {
repo: 'processing/p5.js', //put your user/repo here
usernameVar: process.env.GITHUB_USERNAME, //ENVIRONMENT VARIABLE that contains Github username
passwordVar: process.env.GITHUB_PASSWORD //ENVIRONMENT VARIABLE that contains Github password
accessTokenVar: process.env.GITHUB_TOKEN
}
}
},
'release-it': {
options: {
pkgFiles: ['package.json'],
commitMessage: 'release %s',
tagName: '%s',
tagAnnotation: 'release %s',
buildCommand: false,
distRepo: 'https://github.com/lmccart/p5.js-release',
distStageDir: '.stage',
distFiles: ['p5.*', 'addons/p5.*.js'],
distBase: 'lib',
publish: false
}
},
// This is a static server which is used when testing connectivity for the
// p5 library. This avoids needing an internet connection to run the tests.
// It serves all the files in the test directory at http://localhost:9001/
Expand Down Expand Up @@ -264,6 +278,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-newer');
grunt.loadNpmTasks('grunt-release-it');

// Create the multitasks.
// TODO: "requirejs" is in here to run the "yuidoc_themes" subtask. Is this needed?
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"docs": "grunt yui",
"test": "grunt"
},
"version": "0.4.9",
"version": "0.4.10",
"devDependencies": {
"amdclean": "~0.3.3",
"browserify": "^11.0.1",
Expand All @@ -29,6 +29,8 @@
"grunt-lib-phantomjs": "~0.4.0",
"grunt-mocha": "~0.4.6",
"grunt-newer": "^1.1.0",
"grunt-release": "^0.13.0",
"grunt-release-it": "^0.2.1",
"grunt-update-json": "^0.2.1",
"jscs-stylish": "^0.3.1",
"phantomjs": "~1.9.2-4"
Expand Down

0 comments on commit e7632ba

Please sign in to comment.