Skip to content

Commit 43174f4

Browse files
committed
Update GitHub release workflow to use vscode extension naming conventions
- instead of 'editor' say 'vscode'/'VS Code' ├── .github │ └── workflows │ └── github-release.yml └── apps ├── browser │ └── src │ └── manifest.json └── editor └── package.json
1 parent 887d271 commit 43174f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: package_version
2626
run: |
2727
VERSION=$(jq -r .version apps/editor/package.json)
28-
echo "version=$VERSION-editor" >> $GITHUB_OUTPUT
28+
echo "version=$VERSION-vscode" >> $GITHUB_OUTPUT
2929
echo "raw_version=$VERSION" >> $GITHUB_OUTPUT
3030
3131
- name: Check if tag exists
@@ -64,9 +64,9 @@ jobs:
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 "*-vscode" --abbrev=0 2>/dev/null || echo "")
6868
69-
echo "### What's new in the editor extension:" > release_notes.md
69+
echo "### What's new in the VS Code extension:" > release_notes.md
7070
echo "" >> release_notes.md
7171
7272
if [ -n "$PREV_TAG" ]; then
@@ -80,7 +80,7 @@ jobs:
8080
uses: softprops/action-gh-release@v2
8181
with:
8282
tag_name: ${{ steps.package_version.outputs.version }}
83-
name: ${{ steps.package_version.outputs.raw_version }} - Editor
83+
name: ${{ steps.package_version.outputs.raw_version }} - VS Code
8484
body_path: release_notes.md
8585
files: apps/editor/*.vsix
8686

0 commit comments

Comments
 (0)