-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add azure-functions-core-tools 'dummy' package
- We are not the owner of this package, but we would like to submit the binaries to VirusTotal
- Loading branch information
Showing
3 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
azure-functions-core-tools/azure-functions-core-tools.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>azure-functions-core-tools</id> | ||
<version>4.0.5858</version> | ||
<title>Azure Function Core Tools</title> | ||
<authors>Microsoft</authors> | ||
<owners>nugetazurefunctions</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<licenseUrl>https://raw.githubusercontent.com/Azure/azure-functions-core-tools/master/LICENSE</licenseUrl> | ||
<projectUrl>https://github.com/Azure/azure-functions-core-tools</projectUrl> | ||
<iconUrl>https://raw.githubusercontent.com/Azure/azure-functions-core-tools/master/src/Azure.Functions.Cli/npm/assets/azure-functions-logo-color-raster.png</iconUrl> | ||
<description>The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.</description> | ||
<summary>The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.</summary> | ||
<tags>azure functions azure-function cli core-tools</tags> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Import-Module chocolatey-au | ||
|
||
. ../_scripts/GitHub.ps1 | ||
|
||
function global:au_SearchReplace { | ||
@{} | ||
} | ||
|
||
function global:au_GetLatest { | ||
$release = Get-GitHubLatestRelease "Azure/azure-functions-core-tools" -newest | ||
|
||
$version = Get-ReleaseVersion -release $release | ||
|
||
# Convert semver2 to semver1 | ||
$version = $version.Replace("-beta.", "-beta").Replace("-rc.", "-rc") | ||
|
||
if (-not $version) { | ||
Write-Warning "Couldn't find version number" | ||
return "Ignore" | ||
} | ||
|
||
$assets = Get-GitHubReleaseAssets $release | ||
$asset32 = $assets | Where-Object { $_.name -like "Azure.Functions.Cli.win-x86.*.zip" } | ||
$asset64 = $assets | Where-Object { $_.name -like "Azure.Functions.Cli.win-x64.*.zip" } | ||
|
||
$Latest = @{ | ||
Version = $version | ||
Url32 = $asset32.browser_download_url | ||
Url64 = $asset64.browser_download_url | ||
} | ||
return $Latest | ||
} | ||
|
||
update -Force |