[NuGet] Remove Preview Builds
Description
The preview builds aren't working the way that I originally wanted. I think it will be better to remove all the "-dev.#" builds from our pipelines but leave them attached to the GitHub Actions as an artifact. This will allow developers to download the artifact and use it locally, which may be a little bit of a pain. We could also use GitHub Packages for dev builds.
Tasks
- [ ] Update development build to use gitversion
- [x] Unlist all "-dev.#" builds from NuGet
- [x] #93
- [ ] Set stored artifact to 15 days for dev builds
@mitchelsellers what do you think about this? Maybe we can update our builds to use git version instead of our current numbering schema. I really just want this to be easier to manage
My $0.02 here would be the following.
- Do as you say and set all dev builds to be stored as artifacts here, maybe with a 10-15 day limit as most likely it is only needed temporary.
- Implement GitVersion to help manage the version numbers, as it does work really well and is similar in a systematic manner to what we have been doing.
Let's do that. I have updated the task list above to capture these items. If we need to we can break those items out into separate issues or leave them just as tasks here
I have unlisted all dev builds and our bad license build of 1.0.0. It may be useful to do something similar for FileOnQ.Imaging.Raw so I have a quick powershell script for us.
1..100 | ForEach-Object { nuget delete FileOnQ.Imaging.Heif 1.0.0-dev.$_ -source nuget.org -apikey {API-KEY} -noprompt }