Skip to content

Commit 0fc2d20

Browse files
committed
Use versions without 'v' prefix
1 parent e49c1c7 commit 0fc2d20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ template: |
33
$CHANGES
44
55
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
6-
name-template: 'docs-builder v$RESOLVED_VERSION'
7-
tag-template: 'v$RESOLVED_VERSION'
6+
name-template: 'docs-builder $RESOLVED_VERSION'
7+
tag-template: '$RESOLVED_VERSION'
88
change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
99
categories:
1010
- title: '💥 Breaking Changes'

.github/workflows/create-major-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- name: Get major version
2020
run: |
21-
MAJOR_VERSION=$(echo "${GITHUB_REF#refs/tags/v}" | awk -F. '{print $1}')
21+
MAJOR_VERSION=$(echo "${GITHUB_REF#refs/tags/}" | awk -F. '{print $1}')
2222
echo "MAJOR_VERSION=${MAJOR_VERSION}" >> "${GITHUB_ENV}"
2323
- name: Create major tag
2424
run: |

0 commit comments

Comments
 (0)