Skip to content

Commit

Permalink
Merge branch 'release/v1.20'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric L. Charlier committed May 30, 2019
2 parents f1e37d2 + b47fc64 commit d140704
Show file tree
Hide file tree
Showing 502 changed files with 14,257 additions and 3,823 deletions.
2 changes: 1 addition & 1 deletion .packages/NBi.Extensibility/NBi.Extensibility.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<summary>Extensibility points of NBi.</summary>
<description>This package contains the interfaces to implement to extend NBi features. Testing framework (add-on to NUnit) for Business Intelligence. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other solutions.</description>
<releaseNotes>Check the release notes at https://github.com/Seddryck/NBi/releases/v$version$</releaseNotes>
<copyright>Copyright 2013-2018</copyright>
<copyright>Copyright 2013-$thisYear$</copyright>
<tags>Test NBi SQL SSAS SSIS SSRS</tags>
</metadata>
</package>
4 changes: 2 additions & 2 deletions .packages/NBi.Framework.Tools/NBi.Framework.Tools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<iconUrl>https://raw.githubusercontent.com/Seddryck/nbi/gh-pages/img/logo-2x.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>This package contains the NBi framework and copy it to the tools folder. This package is not intended to be directly used by end-users. Check the package NBi.VisualStudio, if you want to facilitate the usage of NBi from Visual Studio</summary>
<description>Testing framework (add-on to NUnit) for Business Intelligence. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other solutions.</description>
<description>This package contains the NBi framework and copy it to the tools folder. This package is not intended to be directly used by end-users. Check the package NBi.VisualStudio, if you want to facilitate the usage of NBi from Visual StudioTesting framework (add-on to NUnit) for Business Intelligence. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other solutions.</description>
<releaseNotes>Check the release notes at https://github.com/Seddryck/NBi/releases/v$version$</releaseNotes>
<copyright>Copyright 2013-2017</copyright>
<copyright>Copyright 2013-$thisYear$</copyright>
<tags>Test NBi SQL SSAS SSIS SSRS</tags>
<dependencies>
$depList$
Expand Down
6 changes: 3 additions & 3 deletions .packages/NBi.Framework/NBi.Framework.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<iconUrl>https://raw.githubusercontent.com/Seddryck/nbi/gh-pages/img/logo-2x.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>This package contains the NBi framework and references all the dll to your project. This package is not intended to be directly used by end-users. Check the package NBi.VisualStudio, if you want to facilitate the usage of NBi from Visual Studio</summary>
<description>Testing framework (add-on to NUnit) for Business Intelligence. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other solutions.</description>
<description>This package contains the NBi framework and references each dll to your project. This package is not intended to be directly used by end-users willing to create test-suites. Check the package NBi.VisualStudio, if you want to facilitate the usage of NBi from Visual StudioTesting framework (add-on to NUnit) for Business Intelligence. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other solutions.</description>
<releaseNotes>Check the release notes at https://github.com/Seddryck/NBi/releases/v$version$</releaseNotes>
<copyright>Copyright 2013-2017</copyright>
<tags>Test NBi SQL SSAS SSIS SSRS</tags>
<copyright>Copyright 2013-$thisYear$</copyright>
<tags>Test NBi SQL SSAS SSIS SSRS </tags>
<dependencies>
$depList$
</dependencies>
Expand Down
10 changes: 9 additions & 1 deletion .packages/package-NBi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Write-Host "Calculating dependencies ..."

$dependencies = @{}
$solutionRoot = Join-Path ($root) ".."
$projects = Get-ChildItem $solutionRoot | ?{ $_.PSIsContainer -and $_.Name -like "NBi.*" -and $_.Name -notLike "*.UI*" -and $_.Name -notLike "*genbi*" -and $_.Name -notLike "*Service*"} | select Name, FullName
$projects = Get-ChildItem $solutionRoot | ?{ $_.PSIsContainer -and $_.Name -like "NBi.*" -and $_.Name -notLike "*.UI*" -and $_.Name -notLike "*.Testing*" -and $_.Name -notLike "*genbi*" -and $_.Name -notLike "*Service*"} | select Name, FullName
foreach($proj in $projects)
{
$projName = $proj.name
Expand All @@ -30,6 +30,9 @@ foreach($proj in $projects)
Write-Host "Found $($dependencies.Count) dependencies ..."
$depList = $dependencies.Values -join [Environment]::NewLine + "`t`t"

$thisYear = get-date -Format yyyy
Write-Host "Setting copyright until $thisYear"

#For NBi.Framework (dll)
Write-Host "Packaging NBi.Framework"
$lib = "$root\NBi.Framework\lib\net461\"
Expand All @@ -44,8 +47,11 @@ Copy-Item $root\..\NBi.Testing\bin\Debug\NBi.Testing.dll $lib

Write-Host "Setting .nuspec version tag to $version"



$content = (Get-Content $root\NBi.Framework\NBi.Framework.nuspec -Encoding UTF8)
$content = $content -replace '\$version\$',$version
$content = $content -replace '\$thisYear\$',$thisYear
$content = $content -replace '\$depList\$',$depList

$content | Out-File $root\NBi.Framework\NBi.Framework.compiled.nuspec -Encoding UTF8
Expand All @@ -68,6 +74,7 @@ Write-Host "Setting .nuspec version tag to $version"

$content = (Get-Content $root\NBi.Framework.Tools\NBi.Framework.Tools.nuspec -Encoding UTF8)
$content = $content -replace '\$version\$',$version
$content = $content -replace '\$thisYear\$',$thisYear
$content = $content -replace '\$depList\$',$depList

$content | Out-File $root\NBi.Framework.Tools\NBi.Framework.Tools.compiled.nuspec -Encoding UTF8
Expand All @@ -90,6 +97,7 @@ Write-Host "Setting .nuspec version tag to $version"

$content = (Get-Content $root\NBi.Extensibility\NBi.Extensibility.nuspec -Encoding UTF8)
$content = $content -replace '\$version\$',$version
$content = $content -replace '\$thisYear\$',$thisYear

$content | Out-File $root\NBi.Extensibility\NBi.Extensibility.compiled.nuspec -Encoding UTF8

Expand Down
7 changes: 4 additions & 3 deletions AssemblyInfoPatcher.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ param(
[parameter(Mandatory=$true)]
[string]$version
)

Write-Host "Looking to setup the version $version"
(Get-childitem -Path ".") | Foreach-Object {
Write-Host "$_"
}

$parts = $version -split '-'
$arr = $parts[0] -split '\.'
Expand All @@ -21,7 +22,7 @@ Write-Host "Patch: $($arr[2])"
Write-Host "Build number: $($arr[3])"


(Get-childitem -include AssemblyInfo.cs -recurse) | Foreach-Object {
(Get-childitem -Path . -include AssemblyInfo.cs -recurse) | Foreach-Object {
$path = $_
(Get-Content $_) | ForEach-Object{
if($_ -match '\[assembly: AssemblyVersion\("(.*)"\)\]'){
Expand Down
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ branches:
source-branches: ['master', 'develop', 'feature', 'hotfix', 'support']
release:
regex: releases?[/-]
tag: RC
tag: rc
source-branches: ['hotfix', 'develop', 'master', 'feature', 'support']
ignore:
sha: []
Loading

0 comments on commit d140704

Please sign in to comment.