ActiveCampaign / postmark-cli

The official CLI tool for Postmark
https://postmarkapp.com
MIT License
79 stars 9 forks source link

Modifies all templates during each push #14

Closed pbrewton closed 3 years ago

pbrewton commented 5 years ago

"postmark templates push " appears to push every template each time that command is executed. All templates are marked "Modified" regardless if they were modified since the last push or not.

Is this by design or a bug?

derekrushforth commented 5 years ago

@pbrewton Yeah, this was by design, at least for now. It's definitely possible to compare the HTML/Text contents between both template versions. But this adds a lot more overhead, especially if you have a lot of templates on your server.

I'd love to look into this, so I'll add it as an enhancement.

yardensachs commented 3 years ago

This would be great for our CI/CD pipeline, so we can tell what was updated and what was not. We have 100+ templates and it would be very helpful.

derekrushforth commented 3 years ago

This is now available in v1.5.8. More details in the release notes.