chore(deps): update dependency go-task/task to v3.39.1 #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Draft release notes | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
release-drafter: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate CalVer version | |
id: calver | |
run: | | |
export VERSION="$(date "+%y.%-m").0" | |
echo "version=${VERSION}" >> $GITHUB_OUTPUT | |
echo "Version set to ${VERSION}" | |
- name: Draft release notes | |
uses: release-drafter/release-drafter@v6 | |
with: | |
tag: ${{ steps.calver.outputs.version }} | |
name: ${{ steps.calver.outputs.version }} | |
version: ${{ steps.calver.outputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |