Skip to content

Commit 5c7c57f

Browse files
committed
Remove v prefix from release tags
- remove 'v' prefix
1 parent 9519f2b commit 5c7c57f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 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=v$VERSION" >> $GITHUB_OUTPUT
28+
echo "version=$VERSION" >> $GITHUB_OUTPUT
2929
3030
- name: Check if tag exists
3131
id: check_tag
@@ -63,7 +63,7 @@ jobs:
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
@@ -97,8 +97,8 @@ jobs:
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

0 commit comments

Comments
 (0)