Skip to content

Commit

Permalink
fix: move up version type
Browse files Browse the repository at this point in the history
  • Loading branch information
James Womack committed Nov 7, 2017
1 parent e1e23b8 commit 99b840a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ const unleash = shortVersionFlags.reduce(function (y, shortFlag) {

unleash.CURRENT_SHA = CURRENT_SHA

const versionType = unleash.type
const repoType = unleash.repoType

const taskManagerInternalsSentinel = Symbol('__internals__')

const taskInternals = taskManager[taskManagerInternalsSentinel] = {
Expand Down Expand Up @@ -208,8 +211,6 @@ taskManager.task(join(GH_PAGES_DEPLOY, DRY_RUN), taskManager.series([
})

isDryRun = !!unleash.dryRun
const versionType = unleash.type
const repoType = unleash.repoType

if (unleash.gh) {
ghp = unleash.ghp
Expand Down

0 comments on commit 99b840a

Please sign in to comment.