diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 707403f..13810c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,7 +93,9 @@ jobs: run: | echo "$(./gradlew changelogPrintLatestVersionContent -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} --quiet)" > "app/build/release-notes.md" - name: "Create release" - run: "./gradlew -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush" + run: | + ./gradlew generateUsage + ./gradlew -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for gh cli usage - name: "Get version and set to output" diff --git a/CHANGELOG.md b/CHANGELOG.md index 075630c..1278e62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Adapted the build so that README.md does correctly include usage helps when updated during the release process + ### Added - Commit, tag and push the choco source files to the chocolatey-bucket repository during the release process