Skip to content

Commit

Permalink
fix: rebuild index for latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-paul-t committed Nov 13, 2021
1 parent a9ef834 commit ec16343
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6023,9 +6023,13 @@ const installer = __nccwpck_require__(928);
async function run() {
try {
const version = core.getInput('version') || 'latest';
const dryRun = core.getBooleanInput('dry-run') || false;
const verbose = core.getBooleanInput('verbose') || false;
const installOnly = core.getBooleanInput('install-only') || false;
const args = core.getInput('args');
// Arguments must be passed for Uplift to run
if (!args) {
core.setFailed('args input for action is required');
return;
}
// Download and grab path to the binary
const path = await installer.downloadUplift(version);
if (installOnly === true) {
Expand All @@ -6034,23 +6038,15 @@ async function run() {
core.info('🚀 Successfully added Uplift to PATH');
return;
}
// Build up an array of optional arguments to pass to uplift
const args = [];
if (dryRun === true) {
args.push('--dry-run');
}
if (verbose === true) {
args.push('--verbose');
}
core.info('🚀 Running uplift');
await exec.exec(`${path} bump ${args.join(' ')}`);
await exec.exec(`${path} ${args}`);
}
catch (error) {
core.setFailed(error.message);
}
}
run();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQ0FBcUM7QUFDckMsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSxnRkFBZ0Y7QUFDaEYsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSx3RUFBd0U7QUFDeEUsMkRBQTJEO0FBQzNELEVBQUU7QUFDRixpRkFBaUY7QUFDakYsa0RBQWtEO0FBQ2xELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsMkVBQTJFO0FBQzNFLDhFQUE4RTtBQUM5RSx5RUFBeUU7QUFDekUsZ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luc3RhbGxPbmx5ID09PSB0cnVlKSB7XG4gICAgICBjb25zdCBiaW5hcnlEaXIgPSBkaXJuYW1lKHBhdGgpXG4gICAgICBjb3JlLmFkZFBhdGgoYmluYXJ5RGlyKVxuICAgICAgY29yZS5pbmZvKCfwn5qAIFN1Y2Nlc3NmdWxseSBhZGRlZCBVcGxpZnQgdG8gUEFUSCcpXG4gICAgICByZXR1cm5cbiAgICB9XG5cbiAgICBjb3JlLmluZm8oJ/CfmoAgUnVubmluZyB1cGxpZnQnKVxuICAgIGF3YWl0IGV4ZWMuZXhlYyhgJHtwYXRofSAke2FyZ3N9YClcbiAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICBjb3JlLnNldEZhaWxlZChlcnJvci5tZXNzYWdlKVxuICB9XG59XG5cbnJ1bigpXG4iXX0=
})();

module.exports = __webpack_exports__;
Expand Down

0 comments on commit ec16343

Please sign in to comment.