Skip to content

Commit a3a4104

Browse files
authored
fix(ci): make sure to generateUsage help files before triggering build (#4)
2 parents a938793 + 5cddc51 commit a3a4104

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ jobs:
9393
run: |
9494
echo "$(./gradlew changelogPrintLatestVersionContent -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} --quiet)" > "app/build/release-notes.md"
9595
- name: "Create release"
96-
run: "./gradlew -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush"
96+
run: |
97+
./gradlew generateUsage
98+
./gradlew -Prelease=true -PreleaseForceVersion=${{ github.event.inputs.force_version }} -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush
9799
env:
98100
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for gh cli usage
99101
- name: "Get version and set to output"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Adapted the build so that README.md does correctly include usage helps when updated during the release process
13+
1014
### Added
1115

1216
- Commit, tag and push the choco source files to the chocolatey-bucket repository during the release process

0 commit comments

Comments
 (0)