Skip to content

Renamed to ci-runner. #22

Renamed to ci-runner.

Renamed to ci-runner. #22

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
branches:
- main
permissions:
contents: read
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}"
- uses: release-drafter/release-drafter@v5
with:
tag: ${{ steps.calver.outputs.version }}
name: ${{ steps.calver.outputs.version }}
version: ${{ steps.calver.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}