ResourceModules
ResourceModules copied to clipboard
Clean up prerelease when PR is completed
Description
Should prereleases be garbage collected when the module is published in full version?
this can be updated here https://github.com/Azure/ResourceModules/blob/main/.github/actions/templates/publishModule/action.yml
and here https://github.com/Azure/ResourceModules/blob/main/.azuredevops/pipelineTemplates/jobs.publishModule.yml
As per the description - this issue is about clarifying whether to do it or not - not to implemented right way. Moving back to 'needs triage'
Should be added as additional feature in the publish pipeline. It should also have a flag to turn the feature off.
I'm a bit unsure about 'how' this should be implemented. Let's we introduce a flag in the settings - what should it effectively do? Upon running the publish, should it removal all versions with a '-prerelease' suffix? If so, what if there are different ones by different people? Maybe they still use the prerelease version. Etc.