Skip to content

Commit

Permalink
Merge pull request #4826 from microsoft/andrueastman/releaseScript
Browse files Browse the repository at this point in the history
Fixes release script
  • Loading branch information
andrueastman authored Jun 13, 2024
2 parents d439a95 + 7014744 commit ad8737a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion scripts/update-versions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Get-LatestNugetVersion {

$url = "https://api.nuget.org/v3/registration5-gz-semver2/$($packageId.ToLowerInvariant())/index.json"
$response = Invoke-RestMethod -Uri $url -Method Get
$response.items[0].upper
$response.items[$response.items.Count - 1].upper
}
# Get the latest github release
function Get-LatestGithubRelease {
Expand Down
72 changes: 36 additions & 36 deletions src/kiota/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,31 @@
"Dependencies": [
{
"Name": "Microsoft.Kiota.Abstractions",
"Version": "1.8.1"
"Version": "1.9.6"
},
{
"Name": "Microsoft.Kiota.Http.HttpClientLibrary",
"Version": "1.3.8"
"Version": "1.4.3"
},
{
"Name": "Microsoft.Kiota.Serialization.Form",
"Version": "1.1.5"
"Version": "1.2.4"
},
{
"Name": "Microsoft.Kiota.Serialization.Json",
"Version": "1.2.0"
"Version": "1.3.3"
},
{
"Name": "Microsoft.Kiota.Authentication.Azure",
"Version": "1.1.4"
"Version": "1.1.7"
},
{
"Name": "Microsoft.Kiota.Serialization.Text",
"Version": "1.1.4"
"Version": "1.2.2"
},
{
"Name": "Microsoft.Kiota.Serialization.Multipart",
"Version": "1.1.3"
"Version": "1.1.5"
}
],
"DependencyInstallCommand": "dotnet add package {0} --version {1}"
Expand All @@ -61,35 +61,35 @@
"Dependencies": [
{
"Name": "com.microsoft.kiota:microsoft-kiota-abstractions",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-http-okHttp",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-serialization-form",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-serialization-json",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-authentication-azure",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-serialization-text",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "com.microsoft.kiota:microsoft-kiota-serialization-multipart",
"Version": "1.1.3"
"Version": "1.1.14"
},
{
"Name": "jakarta.annotation:jakarta.annotation-api",
"Version": "3.0.0-M1"
"Version": "3.0.0"
}
],
"DependencyInstallCommand": "{0}:{1}"
Expand All @@ -103,7 +103,7 @@
},
{
"Name": "github.com/microsoft/kiota-http-go",
"Version": "v1.3.3"
"Version": "v1.4.1"
},
{
"Name": "github.com/microsoft/kiota-serialization-form-go",
Expand Down Expand Up @@ -133,31 +133,31 @@
"Dependencies": [
{
"Name": "@microsoft/kiota-abstractions",
"Version": "1.0.0-preview.50"
"Version": "1.0.0-preview.56"
},
{
"Name": "@microsoft/kiota-http-fetchlibrary",
"Version": "1.0.0-preview.49"
"Version": "1.0.0-preview.55"
},
{
"Name": "@microsoft/kiota-serialization-form",
"Version": "1.0.0-preview.39"
"Version": "1.0.0-preview.45"
},
{
"Name": "@microsoft/kiota-serialization-json",
"Version": "1.0.0-preview.50"
"Version": "1.0.0-preview.56"
},
{
"Name": "@microsoft/kiota-authentication-azure",
"Version": "1.0.0-preview.45"
"Version": "1.0.0-preview.51"
},
{
"Name": "@microsoft/kiota-serialization-text",
"Version": "1.0.0-preview.47"
"Version": "1.0.0-preview.53"
},
{
"Name": "@microsoft/kiota-serialization-multipart",
"Version": "1.0.0-preview.28"
"Version": "1.0.0-preview.34"
}
],
"DependencyInstallCommand": "npm install {0}@{1} -SE"
Expand All @@ -167,31 +167,31 @@
"Dependencies": [
{
"Name": "microsoft/kiota-abstractions",
"Version": "1.2.0"
"Version": "1.4.0"
},
{
"Name": "microsoft/kiota-http-guzzle",
"Version": "1.3.0"
},
{
"Name": "microsoft/kiota-serialization-json",
"Version": "1.1.0"
"Version": "1.3.0"
},
{
"Name": "microsoft/kiota-authentication-phpleague",
"Version": "1.1.0"
},
{
"Name": "microsoft/kiota-serialization-text",
"Version": "1.0.1"
"Version": "1.1.0"
},
{
"Name": "microsoft/kiota-serialization-multipart",
"Version": "1.0.0"
},
{
"Name": "microsoft/kiota-serialization-form",
"Version": "1.0.0"
"Version": "1.1.1"
}
],
"DependencyInstallCommand": "composer require {0}:{1}"
Expand All @@ -201,15 +201,15 @@
"Dependencies": [
{
"Name": "microsoft-kiota-abstractions",
"Version": "1.3.2"
"Version": "1.3.3"
},
{
"Name": "microsoft-kiota-http",
"Version": "1.3.1"
},
{
"Name": "microsoft-kiota-serialization-json",
"Version": "1.1.0"
"Version": "1.2.0"
},
{
"Name": "microsoft-kiota-authentication-azure",
Expand Down Expand Up @@ -262,31 +262,31 @@
"Dependencies": [
{
"Name": "Microsoft.Kiota.Abstractions",
"Version": "1.8.1"
"Version": "1.9.6"
},
{
"Name": "Microsoft.Kiota.Http.HttpClientLibrary",
"Version": "1.3.8"
"Version": "1.4.3"
},
{
"Name": "Microsoft.Kiota.Serialization.Form",
"Version": "1.1.5"
"Version": "1.2.4"
},
{
"Name": "Microsoft.Kiota.Serialization.Json",
"Version": "1.2.0"
"Version": "1.3.3"
},
{
"Name": "Microsoft.Kiota.Authentication.Azure",
"Version": "1.1.4"
"Version": "1.1.7"
},
{
"Name": "Microsoft.Kiota.Serialization.Text",
"Version": "1.1.4"
"Version": "1.2.2"
},
{
"Name": "Microsoft.Kiota.Cli.Commons",
"Version": "1.1.0"
"Version": "1.1.1"
}
],
"DependencyInstallCommand": "dotnet add package {0} --version {1}"
Expand Down

0 comments on commit ad8737a

Please sign in to comment.