diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfcb631..87e2d45 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,4 +17,9 @@ jobs: with: script-path: build.cake target: Pack - cake-bootstrap: true \ No newline at end of file + cake-bootstrap: true + - name: Publish coverage report to coveralls.io + uses: coverallsapp/github-action@v1.1.2 + with: + github-token: ${{ secrets.github_token }} + path-to-lcov: code_coverage/results.info \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 41aaf6c..abbce14 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Get the sources uses: actions/checkout@v2 + - name: Extract release notes + run: | + git log --pretty=format:'%s' ${GITHUB_REF} | perl -pe 's| \(.*tag: v(\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE-NOTES.txt - name: Run the build script uses: cake-build/cake-action@v1 with: @@ -28,11 +31,6 @@ jobs: TAG_FORMAT: v* NUGET_KEY: ${{secrets.NUGET_API_KEY}} INCLUDE_SYMBOLS: true - - name: Build Changelog - id: build_changelog - uses: mikepenz/release-changelog-builder-action@v1 - env: - GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - name: Create GitHub Release id: create_release uses: actions/create-release@v1 @@ -46,6 +44,6 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.ACCESS_TOKEN }} - file: Bonfidanet.Client/bin/Release/net5.0/ref/Bonfidanet.Client.dll + file: artifacts/Bonfidanet.Client.dll tag: ${{ steps.publish_nuget.outputs.VERSION }} upload_url: ${{ steps.create_release.outputs.upload_url }} \ No newline at end of file diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt new file mode 100644 index 0000000..e69de29 diff --git a/SharedBuildProperties.props b/SharedBuildProperties.props index 2f40365..790452d 100644 --- a/SharedBuildProperties.props +++ b/SharedBuildProperties.props @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> Bonfidanet - 1.0.2 + 1.0.3 Copyright 2021 © blockmountain Tiago Carvalho & Hugo Carvalho blockmountain