Skip to content

Commit f0fbffe

Browse files
job fix
1 parent 830484f commit f0fbffe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ jobs:
3333

3434
- name: Changelog for ${{ matrix.package }}
3535
run: |
36-
TAG=`git describe --abbrev=0 --match "release-v"`
37-
3836
echo "## ${{ matrix.package }}" >> $GITHUB_STEP_SUMMARY
37+
TAG=$(git describe --abbrev=0 --match "release-v*")
3938
if [ $? -ne 0 ]; then
4039
echo "No release tag matching pattern 'release-v*' found. Generating changelog from beggining"
4140
yarn conventional-changelog -k ${{ matrix.package }} --commit-path ${{ matrix.package }} >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)