shipit-deploy-package-support
Version:
Set of tasks for deploying packaged apps.
12 lines (10 loc) • 338 B
JavaScript
module.exports = function (shipit) {
shipit.blTask('deploy:printLatestTags', task);
function task() {
shipit.numberOfTagsToPrint = shipit.numberOfTagsToPrint || 5;
return shipit.local(
"git for-each-ref refs/tags --format='%(refname:short)' --sort=-taggerdate --count="
+ shipit.numberOfTagsToPrint
);
}
};