File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 67
67
68
68
- name : Start git node release prepare
69
69
run : |
70
- ./tools/actions/create-release.sh "${RELEASE_DATE}"
70
+ ./tools/actions/create-release.sh "${RELEASE_DATE}" '${{ inputs.release-line }}'
Original file line number Diff line number Diff line change 3
3
set -xe
4
4
5
5
RELEASE_DATE=$1
6
+ RELEASE_LINE=$2
6
7
7
8
git node release --prepare --skipBranchDiff
8
9
# We use it to not specify the branch name as it changes based on
9
10
# the commit list (semver-minor/semver-patch)
10
11
git config push.default current
11
- MATCHER= " /## $RELEASE_DATE /,/^<a id=/{ if (!/^<a id=/) print }"
12
- awk $MATCHER doc/changelogs/CHANGELOG_V23 .md > pr-body.md
13
- gh pr create --body-file pr-body.md
12
+ awk " /## ${ RELEASE_DATE} /,/^<a id=/{ if (!/^<a id=/) print }" \
13
+ " doc/changelogs/CHANGELOG_V ${RELEASE_LINE} .md" | \
14
+ gh pr create --body-file -
14
15
# TODO: ammend with proposal PR
You can’t perform that action at this time.
0 commit comments