mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-18 07:20:30 +00:00
Experimental update channel rebrand
This commit is contained in:
2
.github/RELEASE_TEMPLATE.md
vendored
2
.github/RELEASE_TEMPLATE.md
vendored
@@ -1,6 +1,6 @@
|
|||||||
### Notice
|
### Notice
|
||||||
|
|
||||||
**Pre-releases are experimental versions that often contain unpatched bugs, work-in-progress features and rewritten implementations. If you don't consider yourself advanced user, please download **[latest stable release](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)** instead. Pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given. Check out ASF **[release cycle](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Release-cycle)** if you'd like to learn more.**
|
**Pre-releases are test versions that often contain unpatched bugs, work-in-progress features and rewritten implementations. If you don't consider yourself advanced user, please download **[latest stable release](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)** instead. Pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given. Check out ASF **[release cycle](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Release-cycle)** if you'd like to learn more.**
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -3355,6 +3355,12 @@ public sealed class Commands {
|
|||||||
if (!Enum.TryParse(channelText, true, out channel) || (channel == GlobalConfig.EUpdateChannel.None)) {
|
if (!Enum.TryParse(channelText, true, out channel) || (channel == GlobalConfig.EUpdateChannel.None)) {
|
||||||
return FormatStaticResponse(Strings.FormatErrorIsInvalid(nameof(channelText)));
|
return FormatStaticResponse(Strings.FormatErrorIsInvalid(nameof(channelText)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning disable CS0618 // TODO: Remove me in the future
|
||||||
|
if (channelText.Contains(nameof(GlobalConfig.EUpdateChannel.Experimental), StringComparison.OrdinalIgnoreCase)) {
|
||||||
|
return FormatStaticResponse(Strings.FormatWarningFailedWithError(Strings.FormatWarningDeprecated(nameof(GlobalConfig.EUpdateChannel.Experimental), nameof(GlobalConfig.EUpdateChannel.PreRelease))));
|
||||||
|
}
|
||||||
|
#pragma warning restore CS0618 // TODO: Remove me in the future
|
||||||
}
|
}
|
||||||
|
|
||||||
(bool success, string? message, Version? version) = await Actions.Update(channel, forced).ConfigureAwait(false);
|
(bool success, string? message, Version? version) = await Actions.Update(channel, forced).ConfigureAwait(false);
|
||||||
|
|||||||
@@ -619,6 +619,9 @@ public sealed class GlobalConfig {
|
|||||||
public enum EUpdateChannel : byte {
|
public enum EUpdateChannel : byte {
|
||||||
None,
|
None,
|
||||||
Stable,
|
Stable,
|
||||||
Experimental
|
PreRelease,
|
||||||
|
|
||||||
|
[Obsolete($"Use {nameof(PreRelease)} instead, this alias will be removed in the future version")]
|
||||||
|
Experimental = PreRelease
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,9 +23,9 @@
|
|||||||
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)
|
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)
|
||||||
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)
|
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)
|
||||||
|
|
||||||
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
||||||
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
||||||
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
[](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
|
||||||
|
|
||||||
[](https://github.com/sponsors/JustArchi)
|
[](https://github.com/sponsors/JustArchi)
|
||||||
[](https://paypal.me/JustArchi)
|
[](https://paypal.me/JustArchi)
|
||||||
|
|||||||
Reference in New Issue
Block a user