File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Changelog
3030 id : create-changelog
3131 run : |
32- bash scripts/generate_changelog.sh $PACKAGE tmpfile
32+ bash scripts/generate_changelog.sh tmpfile
3333 cat tmpfile >> $GITHUB_STEP_SUMMARY
3434 cat tmpfile >> CHANGELOG.md
3535 echo "changelog_file=tempfile" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 11for PACKAGE in " packages/databricks-vscode" " packages/databricks-sdk" " packages/databricks-vscode-types" " ." ; do
2- echo " ## $PACKAGE " >> $2
2+ echo " ## $PACKAGE " >> $1
33
44 TAG=$( git describe --abbrev=0 --match " release-v*" )
55 if [ $? -ne 0 ]; then
66 echo " No release tag matching pattern 'release-v*' found. Generating changelog from beggining"
7- yarn conventional-changelog -k $PACKAGE --commit-path $PACKAGE >> $2
7+ yarn conventional-changelog -k $PACKAGE --commit-path $PACKAGE >> $1
88 else
99 echo " Release tag found. Generating changelog from $TAG "
10- yarn conventional-changelog --tag-prefix=" release-v" -k $PACKAGE --commit-path $PACKAGE >> $2
10+ yarn conventional-changelog --tag-prefix=" release-v" -k $PACKAGE --commit-path $PACKAGE >> $1
1111 fi
1212done
You can’t perform that action at this time.
0 commit comments