Skip to content

Commit

Permalink
fix: bump version before building
Browse files Browse the repository at this point in the history
Relatively straightforward change, makes `aegir release` do the bump
before the release.

Fixes #208

License: MIT
Signed-off-by: Victor Bjelkholm <git@victor.earth>
  • Loading branch information
victorb committed Oct 3, 2018
1 parent 9f86fba commit 44e0b4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/release/index.js
Expand Up @@ -29,6 +29,10 @@ function release (opts) {
title: 'Test',
task: (ctx) => test.run(ctx),
enabled: (ctx) => ctx.test
}, {
title: 'Bump Version',
task: bump,
enabled: (ctx) => ctx.bump
}, {
title: 'Build',
task: (ctx) => build(ctx),
Expand All @@ -37,10 +41,6 @@ function release (opts) {
title: 'Update Contributors',
task: contributors,
enabled: (ctx) => ctx.contributors
}, {
title: 'Bump Version',
task: bump,
enabled: (ctx) => ctx.bump
}, {
title: 'Generate Changelog',
task: changelog,
Expand Down

0 comments on commit 44e0b4d

Please sign in to comment.