8000 OASIS-2517 Release 2.0.0 GA by kellyroach-optimizely · Pull Request #74 · optimizely/csharp-sdk · GitHub
[go: up one dir, main page]

Skip to content

OASIS-2517 Release 2.0.0 GA #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## 2.0.0-beta1
April 3, 2018
## 2.0.0
April 16, 2018

This major release of the Optimizely SDK introduces APIs for Feature Management.

Expand Down
2 changes: 1 addition & 1 deletion OptimizelySDK.DemoApp/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<package id="murmurhash-signed" version="1.0.2" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
<package id="NJsonSchema" version="8.30.6304.31883" targetFramework="net45" />
<package id="Optimizely.SDK" version="2.0.0-beta1" targetFramework="net45" />
<package id="Optimizely.SDK" version="2.0.0" targetFramework="net45" />
<package id="popper.js" version="1.12.9" targetFramework="net45" />
<package id="Respond" version="1.2.0" targetFramework="net45" />
<package id="WebGrease" version="1.5.2" targetFramework="net45" />
Expand Down
2 changes: 1 addition & 1 deletion OptimizelySDK.Package/OptimizelySDK.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>Optimizely.SDK</id>
<version>2.0.0-beta1</version>
<version>2.0.0</version>
<title>Optimizely C# SDK</title>
<authors>Optimizely Development Team</authors>
<owners>fullstack.optimizely</owners>
Expand Down
4 changes: 2 additions & 2 deletions OptimizelySDK.Package/verifysn.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ if ($PSVersionTable["Platform"] -eq "Unix") {
# Locate *.nupkg
################################################################
Write-Host "Locate *.nupkg"
# Good enough for 2.0.0-beta1
$nupkg="./Optimizely.SDK.2.0.0-beta1.nupkg"
# Good enough for 2.0.0
$nupkg="./Optimizely.SDK.2.0.0.nupkg"

################################################################
# Unzipping *.nupkg
Expand Down
13 changes: 11 additions & 2 deletions OptimizelySDK/Optimizely.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,17 @@ public class Optimizely

public static String SDK_VERSION {
get {
// Should be kept in synch with NuGet package version.
return "2.0.0-beta1";
// Example output: "2.0.0" . Should be kept in synch with NuGet package version.
#if NET35
Assembly assembly = Assembly.GetExecutingAssembly();
#else
Assembly assembly = typeof(Optimizely).GetTypeInfo().Assembly;
#endif
// Microsoft Major.Minor.Build.Revision
// Semantic Major.Minor.Patch
Version version = assembly.GetName().Version;
String answer = String.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build);
return answer;
}
}

Expand Down
0