From 46d46896e5429071822c305516636dc633b0d9d2 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Fri, 18 Feb 2022 23:07:05 +0200 Subject: [PATCH] Upgrade the migration service to version 1.1.0 --- Directory.Build.props | 2 +- IdentityServer.Api/Startup.cs | 2 +- ReleaseNotes.xml | 6 ++++++ build-amd64.sh | 2 +- dependencies.props | 2 +- release.sh | 4 ++-- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ffe6f24..eacdac7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 1.1.2 + 1.1.3 Tudor Stanciu STA IdentityServer diff --git a/IdentityServer.Api/Startup.cs b/IdentityServer.Api/Startup.cs index 8c60cd4..790c024 100644 --- a/IdentityServer.Api/Startup.cs +++ b/IdentityServer.Api/Startup.cs @@ -45,7 +45,7 @@ namespace IdentityServer.Api services.AddSwagger("Identity Server API", AuthorizationType.None); // Data access - services.AddMigration(DatabaseType.SQLServer); + services.AddMigration(DatabaseType.SQLServer, MetadataLocation.Database); services.AddDataAccess(); // Application diff --git a/ReleaseNotes.xml b/ReleaseNotes.xml index 3d6ba39..5e0044c 100644 --- a/ReleaseNotes.xml +++ b/ReleaseNotes.xml @@ -43,4 +43,10 @@ ◾ Store and compare passwords as hash to improve system security + + 1.1.3 + + ◾ Upgrade the migration service to version 1.1.0. Migration metadata is now stored in the sql server database. + + \ No newline at end of file diff --git a/build-amd64.sh b/build-amd64.sh index 83262ec..a3d40b4 100644 --- a/build-amd64.sh +++ b/build-amd64.sh @@ -2,7 +2,7 @@ # chmod u+x build-amd64.sh echo "Welcome!" -version="1.1.2" +version="1.1.3" localRegistryPass="***REMOVED***" echo "Create docker image with version $version." diff --git a/dependencies.props b/dependencies.props index 46fd986..87669a9 100644 --- a/dependencies.props +++ b/dependencies.props @@ -12,6 +12,6 @@ 5.0.12 1.0.2 1.0.0 - 1.0.2 + 1.1.0 \ No newline at end of file diff --git a/release.sh b/release.sh index 4aadeda..6ebd4a4 100644 --- a/release.sh +++ b/release.sh @@ -1,8 +1,8 @@ #!/bin/sh echo "Welcome!" -version="1.0.1" -oldver="1.0.0" +version="1.1.3" +oldver="1.1.2" echo "Pull docker image identity-server:$version from registry." docker pull alpine-nexus:8500/identity/identity-server:$version