Skip to content

Commit fb55c57

Browse files
committed
Filter git describe tags by v prefix in release workflow
- the issue with this release is that it lists commits from other releases ├── .github │ └── workflows │ └── github-release.yml └── apps ├── browser │ ├── create-zip-archives.ts │ ├── package.json │ ├── src │ │ └── manifest.json │ └── webpack.config.ts └── editor └── package.json
1 parent 06f99db commit fb55c57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/github-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Generate Release Notes
6565
if: steps.check_tag.outputs.exists == 'false'
6666
run: |
67-
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
67+
PREV_TAG=$(git describe --tags --match "v*" --abbrev=0 2>/dev/null || echo "")
6868
6969
echo "### What's changed in VS Code extension:" > release_notes.md
7070
echo "" >> release_notes.md

0 commit comments

Comments
 (0)