Skip to content

Commit 017cba3

Browse files
committed
🔧 chore: changes 10
1 parent 793ea14 commit 017cba3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: ./cd-release
2525
with:
2626
token: ${{ steps.setup.outputs.token }}
27-
package-version: ${{ steps.version-management.outputs.version }}
27+
package-version: ${{ steps.version-management.outputs.package-version }}
2828
changelog-pr: ${{ steps.version-management.outputs.changelog-pr }}
2929
changelog-github-release: ${{ steps.version-management.outputs.changelog-github-release }}
3030
next-action: ${{ steps.version-management.outputs.next-action }}

ci-version-management/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ outputs:
5353
changelog-pr:
5454
description: 'Changelog for pull request.'
5555

56+
changelog-github-release:
57+
description: 'Changelog for GitHub release.'
58+
5659
next-action:
5760
description: 'Next step. Possible values: "prepare" or "publish".'
5861

ci-version-management/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ci-version-management/functions/tasks/prepare-release-pr-task.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export async function prepareReleasePrTask(ctx: MainContextType) {
2222

2323
if (isTaskPresent(ctx, 'generate-changelog')) {
2424
setOutput('changelog-pr', ctx['generate-changelog'].output.prChangelog);
25+
// TODO changelog-github-release
26+
setOutput('changelog-github-release', ctx['generate-changelog'].output.prChangelog);
2527
}
2628

2729
setOutput('next-action', 'create-pull-request');

0 commit comments

Comments
 (0)