Paul Turpie
Paul Turpie
> What is the use case for exporting metadata that doesn't affect the import command? I was looking to write a powershell script to manage updates and some other automation...
I fixed it on our site by changing: ``` $CURRENT_RELEASE = [System.Version]((Invoke-RestMethod -uri http://www.papercut.com/products/mf/release-history.atom).id[0] ` -replace "^tag:papercut.com,[0-9]+-[0-9]+-[0-9]+:$PRODUCT\/releases\/v(\d+)-(\d+)-(\d+)", '$1.$2.$3') ``` to: ``` $releases = Invoke-RestMethod -uri http://www.papercut.com/products/mf/release-history.atom $releases |ForEach-Object { $version...