Skip to content

Commit 5f470f4

Browse files
Merge pull request #146 from Stravaig-Projects/prep-for-v1
Prepare for V1.0 release
2 parents 0a33d8b + fab228f commit 5f470f4

File tree

9 files changed

+80
-19
lines changed

9 files changed

+80
-19
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
shell: pwsh
107107
run: ./build-release-notes.ps1
108108

109-
- name: Archive Simulated Release Notes
109+
- name: Archive Simulated Release Information
110110
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'false' }}
111111
uses: actions/upload-artifact@v2
112112
with:
@@ -115,9 +115,10 @@ jobs:
115115
contributors.md
116116
release-notes/full-release-notes.md
117117
release-notes/release-notes-${{ env.STRAVAIG_PACKAGE_FULL_VERSION }}.md
118+
out/**
118119
retention-days: 7
119120

120-
- name: Archive Release Notes
121+
- name: Archive Release Information
121122
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' }}
122123
uses: actions/upload-artifact@v2
123124
with:
@@ -126,6 +127,7 @@ jobs:
126127
contributors.md
127128
release-notes/full-release-notes.md
128129
release-notes/release-notes-${{ env.STRAVAIG_PACKAGE_FULL_VERSION }}.md
130+
out/**
129131
130132
- name: Create Release
131133
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' }}

Create-Release.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if ([string]::IsNullOrWhiteSpace($Env:STRAVAIG_PACKAGE_FULL_VERSION))
4545
Write-Error "STRAVAIG_PACKAGE_FULL_VERSION is missing."
4646
Exit 3;
4747
}
48-
$TagName = "v" + $Env:STRAVAIG_PACKAGE_FULL_VERSION
48+
$TagName = $Env:STRAVAIG_RELEASE_TAG
4949

5050

5151
if ([string]::IsNullOrWhiteSpace($Env:STRAVAIG_IS_PREVIEW))

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ Provides logged diagnostics for the app configuration.
1212
* Stravaig.Configuration.Diagnostics.Serilog
1313
* ![Nuget](https://img.shields.io/nuget/v/Stravaig.Configuration.Diagnostics.Serilog?color=004880&label=nuget%20stable&logo=nuget) [View on NuGet](https://www.nuget.org/packages/Stravaig.Configuration.Diagnostics.Serilog)
1414
* ![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/Stravaig.Configuration.Diagnostics.Serilog?color=ffffff&label=nuget%20latest&logo=nuget) [View on NuGet](https://www.nuget.org/packages/Stravaig.Configuration.Diagnostics.Serilog)
15-
* Stravaig.Extensions.Configuration.Diagnostics (**Deprecated**)
16-
* ![Nuget](https://img.shields.io/nuget/v/Stravaig.Extensions.Configuration.Diagnostics?color=004880&label=nuget%20stable&logo=nuget) [View on NuGet](https://www.nuget.org/packages/Stravaig.Extensions.Configuration.Diagnostics)
17-
* ![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/Stravaig.Extensions.Configuration.Diagnostics?color=ffffff&label=nuget%20latest&logo=nuget) [View on NuGet](https://www.nuget.org/packages/Stravaig.Extensions.Configuration.Diagnostics)
1815
* [![Documentation Status](https://readthedocs.org/projects/stravaigextensionsconfigurationdiagnostics/badge/?version=latest)](https://stravaigextensionsconfigurationdiagnostics.readthedocs.io/en/latest/?badge=latest)
1916

2017
The `Stravaig.Extensions.Configuration.Diagnostics` package is now deprecated. It is replaced by the `Stravaig.Configuration.Diagnostics.Logging` package (which references the `Stravaig.Configuration.Diagnostics.Core` package.)

Set-Version.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ else
6565
}
6666
"STRAVAIG_PACKAGE_VERSION_SUFFIX=$suffix" | Out-File -FilePath $Env:GITHUB_ENV -Encoding UTF8 -Append
6767
"STRAVAIG_PACKAGE_FULL_VERSION=$fullVersion" | Out-File -FilePath $Env:GITHUB_ENV -Encoding UTF8 -Append
68+
"STRAVAIG_RELEASE_TAG=v$fullVersion" | Out-File -FilePath $Env:GITHUB_ENV -Encoding UTF8 -Append
6869

6970
if ($IsPublicRelease)
7071
{

src/.idea/.idea.Stravaig.Configuration.Diagnostics/.idea/jsonSchemas.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Stravaig.Configuration.Diagnostics.Core/Stravaig.Configuration.Diagnostics.Core.csproj

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<StravaigBuildTime>$([System.DateTime]::Now.ToString("dddd, d MMMM yyyy 'at' HH:mm:ss zzzz"))</StravaigBuildTime>
4+
<StravaigCopyrightYear>$([System.DateTime]::Now.ToString("yyyy"))</StravaigCopyrightYear>
5+
<StravaigGitHubCommit>$(GITHUB_SHA)</StravaigGitHubCommit>
6+
<StravaigWorkflowUrl>$(GITHUB_SERVER_URL)/$(GITHUB_REPOSITORY)/actions/runs/$(GITHUB_RUN_ID)</StravaigWorkflowUrl>
7+
<StravaigReleaseNotes>https://github.com/$(GITHUB_REPOSITORY)/releases/tag/$(STRAVAIG_RELEASE_TAG)</StravaigReleaseNotes>
8+
</PropertyGroup>
29

310
<PropertyGroup>
411
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
512
<Title>Stravaig Configuration Diagnostics Core</Title>
613
<Authors>Stravaig Projects</Authors>
7-
<Description>The core functionality of a set of diagnostics extensions for enumerating details of the app's configuration.</Description>
8-
<Copyright>©2020-2021 Stravaig Projects. See licence for more information.</Copyright>
9-
<PackageProjectUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics/blob/main/README.md</PackageProjectUrl>
14+
<Copyright>©2020-$(StravaigCopyrightYear) Stravaig Projects. See licence for more information.</Copyright>
15+
<PackageProjectUrl>https://github.com/$(GITHUB_REPOSITORY)/blob/$(StravaigGitHubCommit)/README.md</PackageProjectUrl>
1016
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11-
<RepositoryUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics</RepositoryUrl>
17+
<RepositoryUrl>https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl>
1218
<PackageIcon>stravaig-icon.png</PackageIcon>
1319
<PackageTags>logging configuration</PackageTags>
1420
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1521
<RootNamespace>Stravaig.Configuration.Diagnostics</RootNamespace>
22+
<Description>The core functionality of a set of diagnostics extensions for enumerating details of the app's configuration.
23+
24+
Built on $(StravaigBuildTime).
25+
Build run details at: $(StravaigWorkflowUrl)
26+
Release notes at: $(StravaigReleaseNotes)
27+
</Description>
1628
</PropertyGroup>
1729

1830
<ItemGroup>

src/Stravaig.Configuration.Diagnostics.Logging/Stravaig.Configuration.Diagnostics.Logging.csproj

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<StravaigBuildTime>$([System.DateTime]::Now.ToString("dddd, d MMMM yyyy 'at' HH:mm:ss zzzz"))</StravaigBuildTime>
4+
<StravaigCopyrightYear>$([System.DateTime]::Now.ToString("yyyy"))</StravaigCopyrightYear>
5+
<StravaigGitHubCommit>$(GITHUB_SHA)</StravaigGitHubCommit>
6+
<StravaigWorkflowUrl>$(GITHUB_SERVER_URL)/$(GITHUB_REPOSITORY)/actions/runs/$(GITHUB_RUN_ID)</StravaigWorkflowUrl>
7+
<StravaigReleaseNotes>https://github.com/$(GITHUB_REPOSITORY)/releases/tag/$(STRAVAIG_RELEASE_TAG)</StravaigReleaseNotes>
8+
</PropertyGroup>
29

310
<PropertyGroup>
411
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
512
<Title>Stravaig Configuration Diagnostics (Logging Extensions)</Title>
613
<Authors>Stravaig Projects</Authors>
7-
<Description>A set of diagnostics extensions for enumerating details of the app's configuration.</Description>
8-
<Copyright>©2020-2021 Stravaig Projects. See licence for more information.</Copyright>
9-
<PackageProjectUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics/blob/main/README.md</PackageProjectUrl>
14+
<Copyright>©2020-$(StravaigCopyrightYear) Stravaig Projects. See licence for more information.</Copyright>
15+
<PackageProjectUrl>https://github.com/$(GITHUB_REPOSITORY)/blob/$(StravaigGitHubCommit)/README.md</PackageProjectUrl>
1016
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11-
<RepositoryUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics</RepositoryUrl>
17+
<RepositoryUrl>https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl>
1218
<PackageIcon>stravaig-icon.png</PackageIcon>
1319
<PackageTags>logging configuration</PackageTags>
1420
<GenerateDocumentationFile>true</GenerateDocumentationFile>
21+
<Description>A set of diagnostics extensions for enumerating details of the app's configuration.
22+
23+
Built on $(StravaigBuildTime).
24+
Build run details at: $(StravaigWorkflowUrl)
25+
Release notes at: $(StravaigReleaseNotes)
26+
</Description>
1527
</PropertyGroup>
1628

1729
<ItemGroup>

src/Stravaig.Configuration.Diagnostics.Serilog/Stravaig.Configuration.Diagnostics.Serilog.csproj

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<StravaigBuildTime>$([System.DateTime]::Now.ToString("dddd, d MMMM yyyy 'at' HH:mm:ss zzzz"))</StravaigBuildTime>
4+
<StravaigCopyrightYear>$([System.DateTime]::Now.ToString("yyyy"))</StravaigCopyrightYear>
5+
<StravaigGitHubCommit>$(GITHUB_SHA)</StravaigGitHubCommit>
6+
<StravaigWorkflowUrl>$(GITHUB_SERVER_URL)/$(GITHUB_REPOSITORY)/actions/runs/$(GITHUB_RUN_ID)</StravaigWorkflowUrl>
7+
<StravaigReleaseNotes>https://github.com/$(GITHUB_REPOSITORY)/releases/tag/$(STRAVAIG_RELEASE_TAG)</StravaigReleaseNotes>
8+
</PropertyGroup>
29

310
<PropertyGroup>
411
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
512
<Title>Stravaig Configuration Diagnostics (Serilog Extensions)</Title>
613
<Authors>Stravaig Projects</Authors>
7-
<Description>A set of diagnostics extensions for Serilog for enumerating details of the app's configuration.</Description>
8-
<Copyright>©2020-2021 Stravaig Projects. See licence for more information.</Copyright>
9-
<PackageProjectUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics/blob/main/README.md</PackageProjectUrl>
14+
<Copyright>©2020-$(StravaigCopyrightYear) Stravaig Projects. See licence for more information.</Copyright>
15+
<PackageProjectUrl>https://github.com/$(GITHUB_REPOSITORY)/blob/$(StravaigGitHubCommit)/README.md</PackageProjectUrl>
1016
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11-
<RepositoryUrl>https://github.com/Stravaig-Projects/Stravaig.Extensions.Configuration.Diagnostics</RepositoryUrl>
17+
<RepositoryUrl>https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl>
1218
<PackageIcon>stravaig-icon.png</PackageIcon>
1319
<PackageTags>serilog configuration</PackageTags>
1420
<GenerateDocumentationFile>true</GenerateDocumentationFile>
21+
<Description>A set of diagnostics extensions for Serilog for enumerating details of the app's configuration.
22+
23+
Built on $(StravaigBuildTime).
24+
Build run details at: $(StravaigWorkflowUrl)
25+
Release notes at: $(StravaigReleaseNotes)
26+
</Description>
1527
</PropertyGroup>
1628

1729
<ItemGroup>

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.1
1+
1.0.0

0 commit comments

Comments
 (0)