boar-tasks
Example tasks
Prerequisites
var config = ;var tasks = ;
Publishing
Deploying to S3 and registering files in Emarsys Redirector service.
gulp;gulp;gulp;
Revision customization
By default Boar-tasks
will use a timestamp based revision on the s3.publish
and the redirector.save
tasks. If you prefer to use the version number as revision from the package.json
then change the revision.type
property of the task configuration to package
.
If you would like to setup the revision by yourself you can define it in two different ways:
1. Use --revision argument
gulp publish --revision myCustomRevision
2. Directly add revisions to the tasks
var revision = 'myCustomRevision'; gulp;gulp;gulp;