Skip to content

Commit 724c47f

Browse files
committed
chore: bump version number (v2024.3.5 -> v2024.3.6)
feat: added automatic release notes generation
1 parent 3b2210f commit 724c47f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/prerelease_on_version_bump.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,12 @@ jobs:
109109
uses: actions/github-script@v7
110110
with:
111111
script: |
112-
const version = '${{ steps.current_version.outputs.version }}';
113-
const {CHANGELOG} = process.env;
112+
const {CHANGELOG, CURRENT_VERSION} = process.env;
114113
github.rest.repos.createRelease({
115114
owner: context.repo.owner,
116115
repo: context.repo.repo,
117-
tag_name: `v${version}`,
118-
name: `v${version}`,
116+
tag_name: `v${CURRENT_VERSION}`,
117+
name: `v${CURRENT_VERSION}`,
119118
body: `${CHANGELOG}`,
120119
draft: false,
121120
prerelease: true,

0 commit comments

Comments
 (0)