#package version debugging
1 messages · Page 1 of 1 (latest)
Thanks
{
"name": "clipboard-image",
"title": "Clipboard Image",
"author": "JeansenVaars#2857",
"description": "Paste images from Clipboard into Tiles",
"version": "0.1.1",
"minimumCoreVersion": "9.233",
"compatibleCoreVersion": "9.235",
"scripts": [ "clipboard-image.js" ],
"url": "https://github.com/saif-ellafi/foundryvtt-clipboard-image.git",
"manifest": "https://github.com/saif-ellafi/foundryvtt-clipboard-image/releases/latest/download/module.json",
"download": "https://github.com/saif-ellafi/foundryvtt-clipboard-image/releases/download/0.1.1/foundryvtt-clipboard-image_0.1.1.zip"
}
I have 4 other modules released that have a minimum versrion of 9.233. Users in 0.8.x cannot install it anymore (from scratch).
It does work in preventing updates
On my 0.8.9 instance, I see this version when I go to install that package.
That adds up with what I see on the listing:
https://foundryvtt.com/packages/clipboard-image
Clipboard Image, a Module available for Foundry Virtual Tabletop
Looks like in the package listing your Manifest URL for 0.0.8 links to the latest branch, which means that it's seeing the manifest with V9+ required
Ah yep, that'd do it
Foundry's Package manager supports a history of package releases, this guide intends to lay out some ways to accommodate that.
Set the Manifest URL to point to a manifest with a 0.8.x version and you should be good
I guess I can hardcode and reupload a manifest URL for that previous build no?
The manifest url you provide to the admin listing should be specific to that version.
It's not got to do with your manifest
ahh got it, so with just updating the Admin page I should be able to survive
Since you're using releases on GH, you have to link to this manifest:
The manifest link inside the manifest can be to latest, but the one in the admin page should point to a file that's gonna have the right download link in there, so that it can download right
checking it out asap...
https://github.com/saif-ellafi/foundryvtt-clipboard-image/releases/download/0.0.8/module.json
Is your manifest for installing the 0.0.8 version of your module
That manifest will tell foundry to download this zip:
https://github.com/saif-ellafi/foundryvtt-clipboard-image/releases/download/0.0.8/foundryvtt-clipboard-image_0.0.8.zip
bingo
the manifest JSON inside that zip should have a manifest that points to the 'latest' manifest JSON so that updates work, but the admin page needs individual links to individual versions
Good to know that Foundry picks up the information from its own system database
so I don't have to edit the releases
gotcha
In this case, it's the manifest URLs in the package listing that need to be lined up right
This wiki page goes into all the details if you wanna know more of the nitty gritty.
https://foundryvtt.wiki/en/development/guides/releases-and-history
Foundry's Package manager supports a history of package releases, this guide intends to lay out some ways to accommodate that.
ok I just made a change in the admin, pointing to https://github.com/saif-ellafi/foundryvtt-clipboard-image/releases/download/0.0.8/module.json
it might take a few minutes for that change to trickle down, so don't panic if it doesn't update right away
Thank you both!
updating asap my stuff
Glad not to regret to pre-release my builds
I was looking other people holding release back and I assumed this was the reason
Yeah, Foundry's able to handle that sort of version properly, it just requires a bit more thought about how you're managing packages