Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,18 @@ on:
- 'src/sdk/PnP.Core/**'
- 'src/sdk/PnP.Core.Auth/**'
- 'src/sdk/PnP.Core.Admin/**'
- 'src/sdk/PnP.Core.Transformation/**'
- 'src/sdk/PnP.Core.Transformation.SharePoint/**'
- 'src/sdk/PnP.Core.Test/**'
- 'src/sdk/PnP.Core.Auth.Test/**'
- 'src/sdk/PnP.Core.Admin.Test/**'
- 'src/sdk/PnP.Core.Transformation.Test/**'
- 'src/sdk/PnP.Core.Transformation.SharePoint.Test/**'
pull_request:
branches: [ dev ]
paths:
- 'src/sdk/PnP.Core/**'
- 'src/sdk/PnP.Core.Auth/**'
- 'src/sdk/PnP.Core.Admin/**'
- 'src/sdk/PnP.Core.Transformation/**'
- 'src/sdk/PnP.Core.Transformation.SharePoint/**'
- 'src/sdk/PnP.Core.Test/**'
- 'src/sdk/PnP.Core.Auth.Test/**'
- 'src/sdk/PnP.Core.Admin.Test/**'
- 'src/sdk/PnP.Core.Transformation.Test/**'
- 'src/sdk/PnP.Core.Transformation.SharePoint.Test/**'

jobs:
build:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Nuget package | Downloads | Stable | Preview
[PnP.Core](https://pnp.github.io/pnpcore/using-the-sdk/readme.html) | [![Downloads](https://img.shields.io/nuget/dt/pnp.core.svg)](https://www.nuget.org/packages/PnP.Core/) | [![PnP.Core Nuget package](https://img.shields.io/nuget/v/PnP.Core.svg)](https://www.nuget.org/packages/PnP.Core/) | [![PnP.Core Nuget package](https://img.shields.io/nuget/vpre/PnP.Core.svg)](https://www.nuget.org/packages/PnP.Core/)
[PnP.Core.Auth](https://pnp.github.io/pnpcore/using-the-sdk/configuring%20authentication.html) | [![Downloads](https://img.shields.io/nuget/dt/pnp.core.auth.svg)](https://www.nuget.org/packages/PnP.Core.Auth/) |[![PnP.Core.Auth Nuget package](https://img.shields.io/nuget/v/PnP.Core.Auth.svg)](https://www.nuget.org/packages/PnP.Core.Auth/) | [![PnP.Core.Auth Nuget package](https://img.shields.io/nuget/vpre/PnP.Core.Auth.svg)](https://www.nuget.org/packages/PnP.Core.Auth/)
[PnP.Core.Admin](https://pnp.github.io/pnpcore/using-the-sdk/admin-sharepoint-tenant.html) | [![Downloads](https://img.shields.io/nuget/dt/pnp.core.admin.svg)](https://www.nuget.org/packages/PnP.Core.Admin/) | [![PnP.Core.Admin Nuget package](https://img.shields.io/nuget/v/PnP.Core.Admin.svg)](https://www.nuget.org/packages/PnP.Core.Admin/) | [![PnP.Core.Admin Nuget package](https://img.shields.io/nuget/vpre/PnP.Core.Admin.svg)](https://www.nuget.org/packages/PnP.Core.Admin/)
[PnP.Core.Transformation](https://pnp.github.io/pnpcore/using-the-sdk/transformation-getting-started.html) | [![Downloads](https://img.shields.io/nuget/dt/pnp.core.transformation.svg)](https://www.nuget.org/packages/PnP.Core.Transformation/) | soon | [![PnP.Core.Transformation Nuget package](https://img.shields.io/nuget/vpre/PnP.Core.Transformation.svg)](https://www.nuget.org/packages/PnP.Core.Transformation/)
[PnP.Core.Transformation.SharePoint](https://pnp.github.io/pnpcore/using-the-sdk/transformation-getting-started.html) | [![Downloads](https://img.shields.io/nuget/dt/pnp.core.transformation.sharepoint.svg)](https://www.nuget.org/packages/PnP.Core.Transformation.sharepoint) | soon | [![PnP.Core.Transformation Nuget package](https://img.shields.io/nuget/vpre/PnP.Core.Transformation.sharepoint.svg)](https://www.nuget.org/packages/PnP.Core.Transformation.sharepoint/)

## Getting started 🚀

For more details on how to get started with the PnP.Core SDK checkout our [documentation](https://pnp.github.io/pnpcore/using-the-sdk/readme.html).
Expand Down
4 changes: 2 additions & 2 deletions build/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Releasing a new major PnP Core version takes these steps:

- Update the major version number in the `version.release` file by 1 (e.g. `1.{minorrelease}.0` will become `2.{minorrelease}.0`)
- Reset the minor release version counter by setting it to -1 in the `version.release.increment` file
- Update the `Version` tag in PnP.Core.csproj, PnP.Core.Auth.csproj, PnP.Core.Admin.csproj, PnP.Core.Transformation.csproj and PnP.Core.Transformation.SharePoint.csproj to match the new version
- Update the `Version` tag in PnP.Core.csproj, PnP.Core.Auth.csproj, PnP.Core.Admin.csproj to match the new version
- Update the nightly version number in the `version.debug` file to match the major and minor versions of the new release (e.g. `1.3.{incremental}-nightly` will become `2.0.{incremental}-nightly`)
- Reset the nightly release version counter by setting it to 0 in the `version.debug.increment` file
- Run the `release-official.ps1` script and follow the steps
Expand All @@ -21,7 +21,7 @@ Releasing a new minor PnP Core version takes these steps:

- Update the nightly version number in the `version.debug` file to match the minor version of the new minor release (e.g. `1.0.{incremental}-nightly` will become `1.1.{incremental}-nightly`)
- Reset the nightly release version counter by setting it to 0 in the `version.debug.increment` file
- Update the `Version` tag in PnP.Core.csproj, PnP.Core.Auth.csproj, PnP.Core.Admin.csproj, PnP.Core.Transformation.csproj and PnP.Core.Transformation.SharePoint.csproj to match the new version
- Update the `Version` tag in PnP.Core.csproj, PnP.Core.Auth.csproj, PnP.Core.Admin.csproj to match the new version
- Run the `release-official.ps1` script and follow the steps
- Update readme.md if needed
- Update the changelog to reflect the released version
Expand Down
6 changes: 0 additions & 6 deletions build/build-debug.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ dotnet build ..\src\sdk\PnP.Core.Auth\PnP.Core.Auth.csproj --no-incremental /p:V
Write-Host "Building PnP.Core.Admin versions $version"
dotnet build ..\src\sdk\PnP.Core.Admin\PnP.Core.Admin.csproj --no-incremental /p:Version=$version

Write-Host "Building PnP.Core.Transformation versions $version"
dotnet build ..\src\sdk\PnP.Core.Transformation\PnP.Core.Transformation.csproj --no-incremental /p:Version=$version

Write-Host "Building PnP.Core.Transformation.SharePoint versions $version"
dotnet build ..\src\sdk\PnP.Core.Transformation.SharePoint\PnP.Core.Transformation.SharePoint.csproj --no-incremental /p:Version=$version

#Write-Host "Writing $version to git"
#Set-Content -Path .\version.debug.increment -Value $versionIncrement

Expand Down
16 changes: 0 additions & 16 deletions build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ dotnet build ./src/sdk/PnP.Core.Auth/PnP.Core.Auth.csproj --configuration Releas
Write-Host "Building PnP.Core.Admin version $version"
dotnet build ./src/sdk/PnP.Core.Admin/PnP.Core.Admin.csproj --configuration Release --no-incremental /p:Version=$version

Write-Host "Building PnP.Core.Transformation version $version"
dotnet build ./src/sdk/PnP.Core.Transformation/PnP.Core.Transformation.csproj --configuration Release --no-incremental /p:Version=$version

Write-Host "Building PnP.Core.Transformation.SharePoint version $version"
dotnet build ./src/sdk/PnP.Core.Transformation.SharePoint/PnP.Core.Transformation.SharePoint.csproj --configuration Release --no-incremental /p:Version=$version

Write-Host "Packinging PnP.Core version $version"
dotnet pack ./src/sdk/PnP.Core/PnP.Core.csproj --configuration Release --no-build /p:PackageVersion=$version

Expand All @@ -42,27 +36,17 @@ dotnet pack ./src/sdk/PnP.Core.Auth/PnP.Core.Auth.csproj --configuration Release
Write-Host "Packinging PnP.Core.Admin version $version"
dotnet pack ./src/sdk/PnP.Core.Admin/PnP.Core.Admin.csproj --configuration Release --no-build /p:PackageVersion=$version

Write-Host "Packinging PnP.Core.Transformation version $version"
dotnet pack ./src/sdk/PnP.Core.Transformation/PnP.Core.Transformation.csproj --configuration Release --no-build /p:PackageVersion=$version

Write-Host "Packinging PnP.Core.Transformation.SharePoint version $version"
dotnet pack ./src/sdk/PnP.Core.Transformation.SharePoint/PnP.Core.Transformation.SharePoint.csproj --configuration Release --no-build /p:PackageVersion=$version

Write-Host "Publishing to nuget"
$nupkg = $("./src/sdk/PnP.Core/bin/Release/PnP.Core.$version.nupkg")
$authNupkg = $("./src/sdk/PnP.Core.Auth/bin/Release/PnP.Core.Auth.$version.nupkg")
$adminNupkg = $("./src/sdk/PnP.Core.Admin/bin/Release/PnP.Core.Admin.$version.nupkg")
$transformationNupkg = $("./src/sdk/PnP.Core.Transformation/bin/Release/PnP.Core.Transformation.$version.nupkg")
$transformationSharePointNupkg = $("./src/sdk/PnP.Core.Transformation.SharePoint/bin/Release/PnP.Core.Transformation.SharePoint.$version.nupkg")
$apiKey = $("$env:NUGET_API_KEY")

#Write-Host "API Key starts with:" $apiKey.Substring(0,10)

dotnet nuget push $nupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json --timeout 600
dotnet nuget push $authNupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json --timeout 600
dotnet nuget push $adminNupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json --timeout 600
dotnet nuget push $transformationNupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json --timeout 600
dotnet nuget push $transformationSharePointNupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json --timeout 600

Write-Host "Writing $version to git"
Set-Content -Path ./build/version.debug.increment -Value $versionIncrement
10 changes: 0 additions & 10 deletions build/release-signed-nightly.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ Write-Host "Building PnP.Core.Auth version $version..."
dotnet build $PSScriptRoot\..\src\sdk\PnP.Core.Auth\PnP.Core.Auth.csproj --configuration Release --no-incremental --force --nologo /p:Version=$version
Write-Host "Building PnP.Core.Admin version $version..."
dotnet build $PSScriptRoot\..\src\sdk\PnP.Core.Admin\PnP.Core.Admin.csproj --configuration Release --no-incremental --force --nologo /p:Version=$version
Write-Host "Building PnP.Core.Transformation version $version..."
dotnet build $PSScriptRoot\..\src\sdk\PnP.Core.Transformation\PnP.Core.Transformation.csproj --configuration Release --no-incremental --force --nologo /p:Version=$version
Write-Host "Building PnP.Core.Transformation.SharePoint version $version..."
dotnet build $PSScriptRoot\..\src\sdk\PnP.Core.Transformation.SharePoint\PnP.Core.Transformation.SharePoint.csproj --configuration Release --no-incremental --force --nologo /p:Version=$version

# Sign the binaries
Write-Host "Signing the binaries..."
Expand All @@ -32,10 +28,6 @@ Write-Host "Packinging PnP.Core.Auth version $version..."
dotnet pack $PSScriptRoot\..\src\sdk\PnP.Core.Auth\PnP.Core.Auth.csproj --configuration Release --no-build /p:PackageVersion=$version
Write-Host "Packinging PnP.Core.Admin version $version..."
dotnet pack $PSScriptRoot\..\src\sdk\PnP.Core.Admin\PnP.Core.Admin.csproj --configuration Release --no-build /p:PackageVersion=$version
Write-Host "Packinging PnP.Core.Transformation version $version..."
dotnet pack $PSScriptRoot\..\src\sdk\PnP.Core.Transformation\PnP.Core.Transformation.csproj --configuration Release --no-build /p:PackageVersion=$version
Write-Host "Packinging PnP.Core.Transformation.SharePoint version $version..."
dotnet pack $PSScriptRoot\..\src\sdk\PnP.Core.Transformation.SharePoint\PnP.Core.Transformation.SharePoint.csproj --configuration Release --no-build /p:PackageVersion=$version

# Sign the nuget package is not needed as Nuget signs the package automatically

Expand All @@ -49,8 +41,6 @@ if ($apiKey.Length -gt 0)
nuget push q:\github\pnpcore\src\sdk\PnP.Core\bin\release\PnP.Core.$version.nupkg -ApiKey $apiKey -source https://api.nuget.org/v3/index.json
nuget push q:\github\pnpcore\src\sdk\PnP.Core.Auth\bin\release\PnP.Core.Auth.$version.nupkg -ApiKey $apiKey -source https://api.nuget.org/v3/index.json
nuget push q:\github\pnpcore\src\sdk\PnP.Core.Admin\bin\release\PnP.Core.Admin.$version.nupkg -ApiKey $apiKey -source https://api.nuget.org/v3/index.json
nuget push q:\github\pnpcore\src\sdk\PnP.Core.Transformation\bin\release\PnP.Core.Transformation.$version.nupkg -ApiKey $apiKey -source https://api.nuget.org/v3/index.json
nuget push q:\github\pnpcore\src\sdk\PnP.Core.Transformation.SharePoint\bin\release\PnP.Core.Transformation.SharePoint.$version.nupkg -ApiKey $apiKey -source https://api.nuget.org/v3/index.json

# Persist last used version
Write-Host "Writing $version to git"
Expand Down
Binary file removed docs/PnP Transformation Framework Architecture.pptx
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/using-the-sdk/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@
href: teams-channel-tabs.md
- name: Tags
href: teams-tags.md
- name: "Transformation Framework"
items:
- name: Getting started
href: transformation-getting-started.md
- name: Webs
items:
- name: Overview
Expand Down
Loading
Loading