diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index 7dbb2811..bc0c0e90 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -38,6 +38,8 @@ jobs: run: dotnet tool install --local FunFair.BuildVersion --add-source ${{ secrets.FUNFAIR_NUGET_FEED }} - name: Install Multi-Push Tool run: dotnet tool install --local Credfeto.Package.Push + - name: Install ChangeLog Tool + run: dotnet tool install --local Credfeto.ChangeLog.Cmd --add-source ${{ secrets.FUNFAIR_NUGET_FEED }} - name: Set Define Build Version run: dotnet buildversion ${{ steps.buildnumber.outputs.build_number }} - name: Build with dotnet @@ -51,3 +53,17 @@ jobs: - name: Publish run: | dotnet pushpackages -folder dist --api-key ${{ secrets.NUGET_API_KEY }} --source ${{ secrets.NUGET_FEED }} + - name: Create Release Notes + run: | + dotnet changelog -changelog CHANGELOG.md -extract RELEASE_NOTES.md -version ${{ env.BUILD_VERSION }} + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: v${{ env.BUILD_VERSION }} + release_name: Release ${{ env.BUILD_VERSION }} + body_path: RELEASE_NOTES.md + draft: false + prerelease: false \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a95e4c0..fa69be9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ Please ADD ALL Changes to the UNRELASED SECTION and not a specific release ### Added ### Fixed ### Changed +### Removed +### Deployment Changes + + +## [1.2.0] 2020-10-26 +### Changed - FF-1429 - Updated Microsoft.VisualStudio.Threading.Analyzers to 16.8.50 - FF-1429 - Updated SonarAnalyzer.CSharp to 8.14.0.22654 - FF-1429 - Updated SonarAnalyzer.CSharp to 8.13.1.21947 @@ -19,12 +27,8 @@ Please ADD ALL Changes to the UNRELASED SECTION and not a specific release - FF-1429 - Updated SonarAnalyzer.CSharp to 8.11.0.20529 - FF-1429 - Updated Microsoft.CodeAnalysis.FxCopAnalyzers to 3.3.0 - FF-1429 - Updated Microsoft.VisualStudio.Threading.Analyzers to 16.7.54 -### Removed -### Deployment Changes +- Updated build scripts - ## [1.1.0] 2020-04-26 ### Changed - Updated to .net core 3.1.302