Fullmental
Active member
I'm sorry, I feel like I should know this. For context I'm very new to doing anything addon related and work within this scope VERY infrequently, so I basically have to relearn everything each time I touch an addon. So anyway, I have a stupidly simple addon I wrote two years ago and I made some changes to it today, so I wanted to build a new release. I went into addon.json and incremented the verion_id and string, but when I used xf-addon:build-release it zipped everything up under the OLD version name and overwrote my previous release zip file without even prompting me. I can pull a backup no problem to get that old code back, but what I don't understand is why it happened in the first place, or how to fix it so it properly builds a new version with the updated string in the zipped filename. Am I missing something basic here? Also, shouldn't there at least be a prompt before it overwrites an existing .zip package?