diff --git a/.azure-pipelines/Clocks.Net/official.yml b/.azure-pipelines/Clocks.Net/official.yml index d2cd317a..995612da 100644 --- a/.azure-pipelines/Clocks.Net/official.yml +++ b/.azure-pipelines/Clocks.Net/official.yml @@ -26,3 +26,4 @@ steps: parameters: isOfficial: 'true' tagPrefix: 'Clocks.Net' + releaseNotesFilePath: '$(System.DefaultWorkingDirectory)/Clocks.Net/ReleaseNotes.md' diff --git a/.azure-pipelines/common/publish.yml b/.azure-pipelines/common/publish.yml index 95ea2580..9aaa667b 100644 --- a/.azure-pipelines/common/publish.yml +++ b/.azure-pipelines/common/publish.yml @@ -4,6 +4,9 @@ parameters: default: false - name: tagPrefix type: string +- name: releaseNotesFilePath + type: string + default: '$(System.DefaultWorkingDirectory)/.azure-pipelines/empty.txt' steps: - ${{ if parameters.isOfficial }}: @@ -20,6 +23,7 @@ steps: gitHubConnection: GitHub isPreRelease: '${{ eq(parameters.isOfficial, false) }}' assets: $(Build.SourcesDirectory)/artifacts/packages/** + releaseNotesFilePath: '${{ parameters.releaseNotesFilePath }}' - task: AzureKeyVault@2 displayName: Get ApiKey from Azure KeyVault diff --git a/.azure-pipelines/empty.txt b/.azure-pipelines/empty.txt new file mode 100644 index 00000000..e69de29b diff --git a/Clocks.Net/Directory.Build.props b/Clocks.Net/Directory.Build.props index 3b643686..fb2c016f 100644 --- a/Clocks.Net/Directory.Build.props +++ b/Clocks.Net/Directory.Build.props @@ -7,15 +7,7 @@ Clocks README.md - - - + $([System.IO.File]::ReadAllText("$(EnlistmentRoot)/Clocks.Net/ReleaseNotes.md")) diff --git a/Clocks.Net/ReleaseNotes.md b/Clocks.Net/ReleaseNotes.md new file mode 100644 index 00000000..a6114299 --- /dev/null +++ b/Clocks.Net/ReleaseNotes.md @@ -0,0 +1,9 @@ +# Clocks.Net release notes + +## v1.4.1 + +No source code changes. + +1. Support reproducible build. +2. Generate symbol package. +3. Include README.md into package.