2525 id : package_version
2626 run : |
2727 VERSION=$(jq -r .version apps/editor/package.json)
28- echo "version=editor- $VERSION" >> $GITHUB_OUTPUT
28+ echo "version=$VERSION-editor " >> $GITHUB_OUTPUT
2929 echo "raw_version=$VERSION" >> $GITHUB_OUTPUT
3030
3131 - name : Check if tag exists
6464 - name : Generate Release Notes
6565 if : steps.check_tag.outputs.exists == 'false'
6666 run : |
67- PREV_TAG=$(git describe --tags --match "editor-* " --abbrev=0 2>/dev/null || echo "")
67+ PREV_TAG=$(git describe --tags --match "*-editor " --abbrev=0 2>/dev/null || echo "")
6868
6969 echo "### What's new in the editor extension:" > release_notes.md
7070 echo "" >> release_notes.md
8080 uses : softprops/action-gh-release@v2
8181 with :
8282 tag_name : ${{ steps.package_version.outputs.version }}
83- name : Editor ${{ steps.package_version.outputs.raw_version }}
83+ name : ${{ steps.package_version.outputs.raw_version }} - editor
8484 body_path : release_notes.md
8585 discussion_category_name : " Announcements"
8686 files : apps/editor/*.vsix
9898 id : browser_version
9999 run : |
100100 VERSION=$(jq -r .version apps/browser/src/manifest.json)
101- echo "version=browser- $VERSION" >> $GITHUB_OUTPUT
101+ echo "version=$VERSION-browser " >> $GITHUB_OUTPUT
102102 echo "raw_version=$VERSION" >> $GITHUB_OUTPUT
103103
104104 - name : Check if tag exists
@@ -137,7 +137,7 @@ jobs:
137137 - name : Generate Release Notes
138138 if : steps.check_tag.outputs.exists == 'false'
139139 run : |
140- PREV_TAG=$(git describe --tags --match "browser-* " --abbrev=0 2>/dev/null || echo "")
140+ PREV_TAG=$(git describe --tags --match "*-browser " --abbrev=0 2>/dev/null || echo "")
141141
142142 echo "### What's new in the browser extension:" > release_notes_browser.md
143143 echo "" >> release_notes_browser.md
@@ -153,7 +153,7 @@ jobs:
153153 uses : softprops/action-gh-release@v2
154154 with :
155155 tag_name : ${{ steps.browser_version.outputs.version }}
156- name : Browser ${{ steps.browser_version.outputs.raw_version }}
156+ name : ${{ steps.browser_version.outputs.raw_version }} - browser
157157 body_path : release_notes_browser.md
158158 discussion_category_name : " Announcements"
159159 files : apps/browser/*.zip
0 commit comments