Skip to content

Commit db0659d

Browse files
committed
fix: mark GetLatestVersion obsolete on LuaInstaller.Core.
1 parent 144dbdc commit db0659d

8 files changed

Lines changed: 24 additions & 18 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
type: string
99

1010
env:
11-
LUAINSTALLER_VERSION: 0.1.1.0
11+
LUAINSTALLER_VERSION: 0.2.0.0
1212

1313
jobs:
14-
build:
14+
release:
1515
runs-on: windows-latest
16-
name: Build
16+
name: Release
1717

1818
steps:
1919

LuaInstaller.Console/LuaInstaller.Console.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<CheckEolTargetFramework>false</CheckEolTargetFramework>
1212
<Title>LuaInstaller.Console</Title>
1313
<Copyright>Copyright © luau-project 2024</Copyright>
14-
<Version>0.1.1.0</Version>
14+
<Version>0.2.0.0</Version>
1515
<Authors>luau-project</Authors>
1616
<Company>luau-project</Company>
17-
<AssemblyVersion>0.1.1.0</AssemblyVersion>
18-
<FileVersion>0.1.1.0</FileVersion>
17+
<AssemblyVersion>0.2.0.0</AssemblyVersion>
18+
<FileVersion>0.2.0.0</FileVersion>
1919
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
2020
</PropertyGroup>
2121

LuaInstaller.Console/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.1.0")]
36-
[assembly: AssemblyFileVersion("0.1.1.0")]
35+
[assembly: AssemblyVersion("0.2.0.0")]
36+
[assembly: AssemblyFileVersion("0.2.0.0")]

LuaInstaller.Core/LuaInstaller.Core.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<CheckEolTargetFramework>false</CheckEolTargetFramework>
77
<Title>LuaInstaller.Core</Title>
88
<Copyright>Copyright © luau-project 2024</Copyright>
9-
<Version>0.1.1.0</Version>
9+
<Version>0.2.0.0</Version>
1010
<Authors>luau-project</Authors>
1111
<Company>luau-project</Company>
12-
<AssemblyVersion>0.1.1.0</AssemblyVersion>
13-
<FileVersion>0.1.1.0</FileVersion>
12+
<AssemblyVersion>0.2.0.0</AssemblyVersion>
13+
<FileVersion>0.2.0.0</FileVersion>
1414
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
1515
</PropertyGroup>
1616

LuaInstaller.Core/LuaWebsite.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ public static bool TryGetLatestVersion(out LuaVersion version)
151151

152152
return result;
153153
}
154+
155+
[ObsoleteAttribute("This method is deprecated. Use TryGetLatestVersion instead.")]
156+
public static LuaVersion GetLatestVersion()
157+
{
158+
return QueryVersions()[0];
159+
}
154160

155161
public static LuaVersion FindVersion(string version)
156162
{

LuaInstaller.Core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.1.0")]
36-
[assembly: AssemblyFileVersion("0.1.1.0")]
35+
[assembly: AssemblyVersion("0.2.0.0")]
36+
[assembly: AssemblyFileVersion("0.2.0.0")]

LuaInstaller/LuaInstaller.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1212
<Title>LuaInstaller</Title>
1313
<Copyright>Copyright © luau-project 2024</Copyright>
14-
<Version>0.1.1.0</Version>
14+
<Version>0.2.0.0</Version>
1515
<Authors>luau-project</Authors>
1616
<Company>luau-project</Company>
17-
<AssemblyVersion>0.1.1.0</AssemblyVersion>
18-
<FileVersion>0.1.1.0</FileVersion>
17+
<AssemblyVersion>0.2.0.0</AssemblyVersion>
18+
<FileVersion>0.2.0.0</FileVersion>
1919
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
2020
</PropertyGroup>
2121

LuaInstaller/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("0.1.1.0")]
55-
[assembly: AssemblyFileVersion("0.1.1.0")]
54+
[assembly: AssemblyVersion("0.2.0.0")]
55+
[assembly: AssemblyFileVersion("0.2.0.0")]

0 commit comments

Comments
 (0)