Skip to content

Commit

Permalink
update release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
pantherale0 authored Feb 11, 2025
1 parent b6f001c commit 97a9d46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
version-template: "$MAJOR.$MINOR.$PATCH"
name-template: "$CALVER.$NEXT_PATCH_VERSION"
tag-template: "$CALVER.$NEXT_PATCH_VERSION"
include-pre-releases: true
categories:
- title: Breaking Changes 🛠
labels:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
- name: Generate CalVer version
id: calver
run: |
export CALVER=$(date "+%Y.%m")
export CALVER=$(date "+%Y.%-m")
echo ::set-output name=version::${CALVER}
echo "Version set to ${CALVER}"
- uses: release-drafter/release-drafter@v6
with:
name: ${{ steps.calver.outputs.version }}
tag: ${{ steps.calver.outputs.version }}
version: ${{ steps.calver.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CALVER: ${{ steps.calver.outputs.version }}

0 comments on commit 97a9d46

Please sign in to comment.