You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To cater to #18 not being an option, I'm building my velopack packages on the build agents that match the target OS.
But I'm not uploading those packages from multiple machines, because I only want to publish a release across channels if the whole pipeline succeeded.
So what I've crafted is to build the packages first, on various build agents, and collect these packages as pipeline artifacts.
Then I have a final job that (if everything else was successful) downloads the pipeline artifacts created by the 3 build agents and then uploads all the velopack packages at once.
The problem I run into is that the assets.CHANNELNAME.json file contains absolute paths rather than relative paths. And the absolute path has changed from one agent to the next. So vpk upload fails.
Can we get vpk pack to create this assets json file with relative paths, and vpk upload to accept that?
The text was updated successfully, but these errors were encountered:
Agreed, this needs to get looked at. Ideally I'd like to deprecate assets.{channel}.json entirely, it's only used by the upload command. I feel like the intended behavior is probably always to just take and upload the latest releases for the specified channel, rather than reading the assets file which is a list of files produced by the last pack command.
Guessing which files to upload based on the target channel is easy for .nupkg files, we just open it and read the embedded channel. Not so easy for installers or .AppImage's. We can guess based on the filename but I don't love that.
As a workaround for now, you could write a small script on your final uploading agent which writes a new assets file.
To cater to #18 not being an option, I'm building my velopack packages on the build agents that match the target OS.
But I'm not uploading those packages from multiple machines, because I only want to publish a release across channels if the whole pipeline succeeded.
So what I've crafted is to build the packages first, on various build agents, and collect these packages as pipeline artifacts.
Then I have a final job that (if everything else was successful) downloads the pipeline artifacts created by the 3 build agents and then uploads all the velopack packages at once.
The problem I run into is that the
assets.CHANNELNAME.json
file contains absolute paths rather than relative paths. And the absolute path has changed from one agent to the next. Sovpk upload
fails.Can we get
vpk pack
to create this assets json file with relative paths, andvpk upload
to accept that?The text was updated successfully, but these errors were encountered: