Skip to content

Refactor cli.New to reduce memory allocation overhead (#113) #10

Refactor cli.New to reduce memory allocation overhead (#113)

Refactor cli.New to reduce memory allocation overhead (#113) #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions: {}
jobs:
ci:
name: CI
uses: FollowTheProcess/cli/.github/workflows/CI.yml@main
secrets: inherit
permissions:
contents: read
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
needs:
- ci
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch Existing Tags
run: git fetch --force --tags
- name: Parse Release Version
id: version
run: |
VERSION=${GITHUB_REF#refs/tags/v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Publish Draft Release
uses: release-drafter/release-drafter@v6
with:
version: ${{ steps.version.outputs.version }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}