diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 1f6c761..63ff994 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -160,6 +160,12 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') && matrix.rid == 'linux-x64' - run: sed -i -e 's/$spmVersion = \"v0.1\"/$spmVersion = \"${{ github.ref_name }}\"/g' install-spm.ps1 if: startsWith(github.ref, 'refs/tags/v') && matrix.rid == 'linux-x64' + - name: Changelog + id: changelog + uses: mindsers/changelog-reader-action@v2.0.0 # v2.1.0 does not read description (see https://github.com/mindsers/changelog-reader-action/issues/63) + if: startsWith(github.ref, 'refs/tags/v') + with: + version: ${{ github.ref_name }} - name: Release id: gh-release uses: softprops/action-gh-release@v1 @@ -167,6 +173,7 @@ jobs: with: draft: true prerelease: true + body: ${{ steps.changelog.outputs.changes }} generate_release_notes: true files: | ${{ matrix.rid }}.zip diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..99cfc2e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [v0.1.0] - 2022-06-28 +### Added +- initial release \ No newline at end of file diff --git a/SourcePawnManager.sln b/SourcePawnManager.sln index 84ba0b2..bdea7e8 100644 --- a/SourcePawnManager.sln +++ b/SourcePawnManager.sln @@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionIt .editorconfig = .editorconfig .gitattributes = .gitattributes .gitignore = .gitignore + CHANGELOG.md = CHANGELOG.md CONTRIBUTING.md = CONTRIBUTING.md COPYING = COPYING Dockerfile = Dockerfile