Skip to content

Commit

Permalink
Experimental update channel rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Sep 27, 2024
1 parent 246429f commit 088161e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### 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.**

---

Expand Down
6 changes: 6 additions & 0 deletions ArchiSteamFarm/Steam/Interaction/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3355,6 +3355,12 @@ internal void OnNewLicenseList() {
if (!Enum.TryParse(channelText, true, out channel) || (channel == GlobalConfig.EUpdateChannel.None)) {
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);
Expand Down
5 changes: 4 additions & 1 deletion ArchiSteamFarm/Storage/GlobalConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,9 @@ public enum EPluginsUpdateMode : byte {
public enum EUpdateChannel : byte {

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, macos-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, macos-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, ubuntu-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, ubuntu-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, macos-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, macos-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, ubuntu-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, ubuntu-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (ubuntu-latest, generic)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (ubuntu-latest, linux-arm)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (ubuntu-latest, linux-arm64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (ubuntu-latest, linux-x64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (macos-latest, osx-arm64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (macos-latest, osx-x64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, win-arm64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check failure on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, win-x64)

Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)

Check warning on line 619 in ArchiSteamFarm/Storage/GlobalConfig.cs

View workflow job for this annotation

GitHub Actions / Qodana for .NET

RoslynAnalyzers Mark enums with FlagsAttribute

Mark enums with FlagsAttribute
None,
Stable,
Experimental
PreRelease,

[Obsolete($"Use {nameof(PreRelease)} instead, this alias will be removed in the future version")]
Experimental = PreRelease
}
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
[![GitHub stable release date](https://img.shields.io/github/release-date/JustArchiNET/ArchiSteamFarm.svg?label=Released&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)
[![Github stable release downloads](https://img.shields.io/github/downloads/JustArchiNET/ArchiSteamFarm/latest/total.svg?label=Downloads&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest)

[![GitHub experimental release version](https://img.shields.io/github/v/release/JustArchiNET/ArchiSteamFarm?include_prereleases&label=Experimental&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
[![GitHub experimental release date](https://img.shields.io/github/release-date-pre/JustArchiNET/ArchiSteamFarm.svg?label=Released&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
[![Github experimental release downloads](https://img.shields.io/github/downloads-pre/JustArchiNET/ArchiSteamFarm/latest/total.svg?label=Downloads&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
[![GitHub pre-release version](https://img.shields.io/github/v/release/JustArchiNET/ArchiSteamFarm?include_prereleases&label=Pre-release&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
[![GitHub pre-release date](https://img.shields.io/github/release-date-pre/JustArchiNET/ArchiSteamFarm.svg?label=Released&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)
[![Github pre-release downloads](https://img.shields.io/github/downloads-pre/JustArchiNET/ArchiSteamFarm/latest/total.svg?label=Downloads&logo=github&cacheSeconds=600)](https://github.com/JustArchiNET/ArchiSteamFarm/releases)

[![GitHub sponsor](https://img.shields.io/badge/GitHub-sponsor-ea4aaa.svg?logo=github-sponsors)](https://github.com/sponsors/JustArchi)
[![PayPal.me donate](https://img.shields.io/badge/PayPal.me-donate-00457c.svg?logo=paypal)](https://paypal.me/JustArchi)
Expand Down

0 comments on commit 088161e

Please sign in to comment.