-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/npm_and_yarn/ua-parser-js-0.7.33
- Loading branch information
Showing
13 changed files
with
210 additions
and
10 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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
choco install ilmerge | ||
choco install il-repack | ||
choco install GitVersion.Portable | ||
choco install wixtoolset | ||
choco install hub | ||
choco install dotnet-7.0-sdk --pre | ||
|
||
choco install dotnet-7.0-sdk | ||
choco install NuGet.CommandLine |
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
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
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
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
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,28 @@ | ||
pushd $PSScriptRoot\.. | ||
|
||
Get-Item .\artifacts\x64\gsudo.exe > $null || $(throw "Missing binaries/artifacts") | ||
|
||
if ($env:version) { | ||
"- Getting version from env:version" | ||
$version = $env:version | ||
$version_MajorMinorPatch=$env:version_MajorMinorPatch | ||
} else { | ||
"- Getting version using GitVersion" | ||
$version = $(gitversion /showvariable LegacySemVer) | ||
$version_MajorMinorPatch=$(gitversion /showvariable MajorMinorPatch) | ||
} | ||
"- Using version number v$version / v$version_MajorMinorPatch" | ||
|
||
"- Cleaning Nuget template folder" | ||
git clean .\Build\Nuget\gsudo -xf | ||
|
||
"- Packing v$version to nuget" | ||
dotnet build .\Build\Nuget\gsudo.csproj /p:Version=$version -o artifacts\Nuget || $(throw "Nuget pack failed.") | ||
|
||
"`n- Uploading v$version to Nuget" | ||
gi "artifacts\nuget\gsudo.$($version).nupkg" || $(throw "Nuget push failed.") | ||
nuget push artifacts\nuget\gsudo.$($version).nupkg -Source https://api.nuget.org/v3/index.json || $(throw "Nuget push failed.") | ||
|
||
|
||
"- Success" | ||
popd |
This file was deleted.
Oops, something went wrong.
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,40 @@ | ||
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Pack"> | ||
|
||
<PropertyGroup> | ||
<Version>1.0.0.0</Version> | ||
<Company>Gerardo Grignoli</Company> | ||
<Authors>Gerardo Grignoli</Authors> | ||
<PackageId>gsudo</PackageId> | ||
<PackageTags>gsudo;sudo;runas</PackageTags> | ||
<Description>gsudo is a sudo for Windows, allows to run commands with elevated permissions in the current console.</Description> | ||
<TargetFrameworks>netstandard2.0</TargetFrameworks> | ||
<NoBuild>true</NoBuild> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
<IncludeSymbols>false</IncludeSymbols> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackFrameworkReferences>false</PackFrameworkReferences> | ||
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | ||
<Copyright>Gerardo Grignoli and GitHub Contributors</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/gerardog/gsudo</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/gerardog/gsudo</RepositoryUrl> | ||
<RepositoryType>GIT</RepositoryType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\..\artifacts\net46-AnyCpu\gsudo.exe" Pack="true"> | ||
<PackagePath>runtimes\win-anycpu\native\gsudo.exe</PackagePath> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\..\artifacts\x86\gsudo.exe" Pack="true"> | ||
<PackagePath>runtimes\win-x86\native\gsudo.exe</PackagePath> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\..\artifacts\x64\gsudo.exe" Pack="true"> | ||
<PackagePath>runtimes\win-x64\native\gsudo.exe</PackagePath> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\..\artifacts\arm64\gsudo.exe" Pack="true"> | ||
<PackagePath>runtimes\win-arm64\native\gsudo.exe</PackagePath> | ||
</Content> | ||
<Content Include="gsudo.targets" PackagePath="build/gsudo.targets" Pack="true" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,33 @@ | ||
<?xml version="1.0"?> | ||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\runtimes\win-anycpu\native\gsudo.exe"> | ||
<Link>gsudo.exe</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<PublishState>Included</PublishState> | ||
<Visible>false</Visible> | ||
<Pack>false</Pack> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\runtimes\win-x86\native\gsudo.exe"> | ||
<Link>runtimes\win-x86\native\gsudo.exe</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<PublishState>Included</PublishState> | ||
<Visible>false</Visible> | ||
<Pack>false</Pack> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\runtimes\win-x64\native\gsudo.exe"> | ||
<Link>runtimes\win-x64\native\gsudo.exe</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<PublishState>Included</PublishState> | ||
<Visible>false</Visible> | ||
<Pack>false</Pack> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\runtimes\win-arm64\native\gsudo.exe"> | ||
<Link>runtimes\win-arm64\native\gsudo.exe</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<PublishState>Included</PublishState> | ||
<Visible>false</Visible> | ||
<Pack>false</Pack> | ||
</Content> | ||
</ItemGroup> | ||
</Project> |
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
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