File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 id : package_version
2626 run : |
2727 VERSION=$(jq -r .version apps/editor/package.json)
28- echo "version=v $VERSION" >> $GITHUB_OUTPUT
28+ echo "version=$VERSION" >> $GITHUB_OUTPUT
2929
3030 - name : Check if tag exists
3131 id : check_tag
6363 - name : Generate Release Notes
6464 if : steps.check_tag.outputs.exists == 'false'
6565 run : |
66- PREV_TAG=$(git describe --tags --match "v *" --abbrev=0 2>/dev/null || echo "")
66+ PREV_TAG=$(git describe --tags --match "[0-9] *" --abbrev=0 2>/dev/null || echo "")
6767
6868 echo "### What's new in the editor extension:" > release_notes.md
6969 echo "" >> release_notes.md
9797 id : browser_version
9898 run : |
9999 VERSION=$(jq -r .version apps/browser/src/manifest.json)
100- echo "version=browser-v $VERSION" >> $GITHUB_OUTPUT
101- echo "raw_version=v $VERSION" >> $GITHUB_OUTPUT
100+ echo "version=browser-$VERSION" >> $GITHUB_OUTPUT
101+ echo "raw_version=$VERSION" >> $GITHUB_OUTPUT
102102
103103 - name : Check if tag exists
104104 id : check_tag
@@ -136,7 +136,7 @@ jobs:
136136 - name : Generate Release Notes
137137 if : steps.check_tag.outputs.exists == 'false'
138138 run : |
139- PREV_TAG=$(git describe --tags --match "browser-v *" --abbrev=0 2>/dev/null || echo "")
139+ PREV_TAG=$(git describe --tags --match "browser-*" --abbrev=0 2>/dev/null || echo "")
140140
141141 echo "### What's new in the browser extension:" > release_notes_browser.md
142142 echo "" >> release_notes_browser.md
You can’t perform that action at this time.
0 commit comments