Skip to content

Commit

Permalink
peachpie 1.0.0-preview5
Browse files Browse the repository at this point in the history
- fixes #94
- should fix #92
- fixes #79
- improves perf.
  • Loading branch information
jakubmisek committed Jan 11, 2021
1 parent 3b3b5b9 commit 38b2a11
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<!-- common version -->
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">5.6.0</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">preview4</VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">preview5</VersionSuffix>
<!--PeachpieVersion> specified in global.json </PeachpieVersion-->

<!-- metadata generation -->
Expand Down
4 changes: 2 additions & 2 deletions PeachPied.WordPress.Build.Plugin/build/Sdk.Common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- This file has been generated. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.props" Sdk="Peachpie.NET.Sdk" Version="1.0.0-preview4" />
<Import Project="Sdk.props" Sdk="Peachpie.NET.Sdk" Version="1.0.0-preview5" />
<PropertyGroup>
<WpDotNetVersion Condition=" '$(WpDotNetVersion)'=='' ">5.6.0-preview4</WpDotNetVersion>
<WpDotNetVersion Condition=" '$(WpDotNetVersion)'=='' ">5.6.0-preview5</WpDotNetVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion PeachPied.WordPress.Build.Plugin/build/Sdk.Common.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- This file has been generated. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.targets" Sdk="Peachpie.NET.Sdk" Version="1.0.0-preview4" />
<Import Project="Sdk.targets" Sdk="Peachpie.NET.Sdk" Version="1.0.0-preview5" />
</Project>
4 changes: 2 additions & 2 deletions docs/build-php-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ Project file is an XML file with the following content:

> *MyHelloDollyPlugin.msbuildproj:*
```xml
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.5.1-preview4">
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.5.1-preview5">

</Project>
```

For most cases, the project file does not specify anything else as all the properties are defined by default in the Sdk. In case a build property or a build item needs to be altered, add it to your project file.

Note the project file specifies a version after the slash, i.e. `"/5.5.1-preview4"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.
Note the project file specifies a version after the slash, i.e. `"/5.5.1-preview5"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.

## Build the plugin

Expand Down
4 changes: 2 additions & 2 deletions docs/build-php-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Project file is an XML file with the following content:

> *MyWordPressTheme.msbuildproj:*
```xml
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.5.1-preview4">
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.5.1-preview5">
<PropertyGroup>
<WpContentTarget>themes</WpContentTarget>
</PropertyGroup>
</Project>
```

Note the project file specifies a version after the slash, i.e. `"/5.5.1-preview4"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.
Note the project file specifies a version after the slash, i.e. `"/5.5.1-preview5"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.

## Build the theme

Expand Down
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Open or create an ASP NET Core application, version 3.0 or newer.
Add a package reference to [`"Peachpied.WordPress.AspNetCore"`](https://www.nuget.org/packages/PeachPied.WordPress.AspNetCore/) (note it is a pre-release package):

```shell
dotnet add package PeachPied.WordPress.AspNetCore --version 5.5.1-preview4
dotnet add package PeachPied.WordPress.AspNetCore --version 5.5.1-preview5
```

Add WordPress middleware within your request pipeline, in the `Configure` startup method:
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"msbuild-sdks": {
"Peachpie.NET.Sdk": "1.0.0-preview4"
"Peachpie.NET.Sdk": "1.0.0-preview5"
}
}

0 comments on commit 38b2a11

Please sign in to comment.