Skip to content

Commit

Permalink
tag release at the current commit, not master
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Feb 21, 2015
1 parent c2feca1 commit 04ce64e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"ember-code-snippet": "^0.1.0",
"ember-export-application-global": "^1.0.0",
"express": "^4.8.5",
"git-repo-info": "^1.0.4",
"github": "git://github.com/ef4/node-github",
"glob": "^4.0.5",
"ncp": "^0.6.0",
Expand Down
3 changes: 2 additions & 1 deletion packaging/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var stat = RSVP.denodeify(fs.stat);
var readdir = RSVP.denodeify(fs.readdir);
var copy = RSVP.denodeify(require('ncp').ncp);
var program = require('commander');
var gitRepoInfo = require('git-repo-info');

function version() {
return require('../package.json').version;
Expand Down Expand Up @@ -94,7 +95,7 @@ var steps = [
step: function(github) {
return github.releases.createRelease({
tag_name: 'v' + version(),
target_commitish: 'master',
target_commitish: gitRepoInfo().sha,
owner: 'ef4',
repo: 'liquid-fire',
draft: true
Expand Down

0 comments on commit 04ce64e

Please sign in to comment.