Skip to content

Commit

Permalink
Use License Expression #319 (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher authored Sep 3, 2020
1 parent 17b8765 commit f6bd1c1
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 27 deletions.
1 change: 0 additions & 1 deletion build/Katana.version.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<BuildQuality>rtw</BuildQuality>
<BuildDate>90831</BuildDate>
<BranchSuffix></BranchSuffix>
<Eula>https://raw.githubusercontent.com/aspnet/AspNetKatana/v4.0.1/LICENSE.txt</Eula>
<ProjectUrl>https://github.com/aspnet/AspNetKatana/</ProjectUrl>
<Tags>Microsoft OWIN Katana</Tags>
</PropertyGroup>
Expand Down
5 changes: 1 addition & 4 deletions build/Sakefile.shade
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var AZUREAD_VERSION='5.3.0'
var AZUREAD_SUFFIX=''
var VERSION='${SHIP.VERSION}'
var FULL_VERSION='${SHIP.FULL_VERSION}'
var EULA='https://raw.githubusercontent.com/aspnet/AspNetKatana/v4.0.1/LICENSE.txt'
var PROJECT_URL='https://github.com/aspnet/AspNetKatana/'
var TAGS='Microsoft OWIN Katana'

Expand Down Expand Up @@ -107,7 +106,6 @@ use-standard-goals features='nuget,xunit'
+ " <BuildQuality>" + SHIP.MILESTONE + "</BuildQuality>" + Environment.NewLine
+ " <BuildDate>" + BuildDate() + "</BuildDate>" + Environment.NewLine
+ " <BranchSuffix>" + BranchSuffix() + "</BranchSuffix>" + Environment.NewLine
+ " <Eula>" + EULA + "</Eula>" + Environment.NewLine
+ " <ProjectUrl>" + PROJECT_URL + "</ProjectUrl>" + Environment.NewLine
+ " <Tags>" + TAGS + "</Tags>" + Environment.NewLine
+ " </PropertyGroup>" + Environment.NewLine
Expand Down Expand Up @@ -275,11 +273,10 @@ var signing='${new List<string>()}'
var azureAdSuffix='${AZUREAD_SUFFIX}'
set azureAdSuffix='' if='OFFICIAL_BUILD && RELEASE_BUILD && FINAL_MILESTONE'

var licenseUrl='${EULA}'
var projectUrl='${PROJECT_URL}'
var tags='${TAGS}'

nuget-pack nuspecFile='${file}' outputDir='${TARGET_DIR}' extra='-NoPackageAnalysis -Symbols -Properties "id=${baseName};authors=${AUTHORS};author=${AUTHORS};title=${title};description=${description};licenseUrl=${licenseUrl};projectUrl=${projectUrl};tags=${tags};azureAdVersion=${azureAdVersion};azureAdSuffix=${azureAdSuffix}"'
nuget-pack nuspecFile='${file}' outputDir='${TARGET_DIR}' extra='-NoPackageAnalysis -Symbols -Properties "id=${baseName};authors=${AUTHORS};author=${AUTHORS};title=${title};description=${description};projectUrl=${projectUrl};tags=${tags};azureAdVersion=${azureAdVersion};azureAdSuffix=${azureAdSuffix}"'

#nuget-deploy target='deploy' description='Upload NuGet packages to gallery'
var extra=''
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin.Cors/Microsoft.Owin.Cors.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin.Hosting/Microsoft.Owin.Hosting.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin.Security/Microsoft.Owin.Security.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin.SelfHost/Microsoft.Owin.SelfHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin.Testing/Microsoft.Owin.Testing.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Owin/Microsoft.Owin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down
2 changes: 1 addition & 1 deletion src/OwinHost/OwinHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<authors>$authors$</authors>
<owners>$authors$</owners>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<licenseUrl>$licenseUrl$</licenseUrl>
<license type="expression">Apache-2.0</license>
<projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<title>$title$</title>
Expand Down

0 comments on commit f6bd1c1

Please sign in to comment.