MrSandyWilly
MrSandyWilly
CC#
Created by MrSandyWilly on 3/5/2023 in #help
C# versioning
Hey there, so for starters I'm sorry if this is a silly question. I'm a non .NET web development but I help out with a non profit organisation who uses it. At the moment we're trying to implement SemVer as an upgrade over the old and very arbitrary versioning system. Say we build our release candidate and give it to the beta testers, who don't find any issues so we're ready to make it a public release. In accordance with SemVer we need to change the version from for example 1.23.0-beta.4 to 1.23.0. Is there a way of storing version so that we don't need to rebuild this working build? We don't want to accidentally have any weird stuff happen and break the release by rebuilding it. The executable which we distribute is generic and downloads the correct version of the software from our server based on the user's role (alpha tester/beta tester/normal user) so its important that we can programmatically differentiate between whether a build is alpha/beta/or not. Thanks!
15 replies