File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 - run : yarn install --immutable
3333
3434 - name : Changelog for ${{ matrix.package }}
35- run : |
36- echo "## ${{ matrix.package }}" >> $GITHUB_STEP_SUMMARY
37- TAG=$(git describe --abbrev=0 --match "release-v*")
38- if [ $? -ne 0 ]; then
39- echo "No release tag matching pattern 'release-v*' found. Generating changelog from beggining"
40- yarn conventional-changelog -k ${{ matrix.package }} --commit-path ${{ matrix.package }} >> $GITHUB_STEP_SUMMARY
41- else
42- echo "Release tag found. Generating changelog from $TAG"
43- yarn conventional-changelog --tag-prefix="release-v" -k ${{ matrix.package }} --commit-path ${{ matrix.package }} >> $GITHUB_STEP_SUMMARY
44- fi
35+ run : bash scripts/generate_changelog.sh ${{ matrix.package }} $GITHUB_STEP_SUMMARY
4536
4637 version-check :
4738 name : Version Check
Original file line number Diff line number Diff line change 1+ PACKAGE= $1
2+ echo " ## $PACKAGE " >> $2
3+
4+ TAG=$( git describe --abbrev=0 --match " release-v*" )
5+ if [ $? -ne 0 ]; then
6+ echo " No release tag matching pattern 'release-v*' found. Generating changelog from beggining"
7+ yarn conventional-changelog -k $PACKAGE --commit-path $PACKAGE >> $2
8+ else
9+ echo " Release tag found. Generating changelog from $TAG "
10+ yarn conventional-changelog --tag-prefix=" release-v" -k $PACKAGE --commit-path $PACKAGE >> $2
11+ fi
You can’t perform that action at this time.
0 commit comments