Skip to content

chore: bump version to 1.5.0 #6

chore: bump version to 1.5.0

chore: bump version to 1.5.0 #6

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
draft-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install tools
run: pip install anthropic build
- name: Generate changelog
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: python scripts/generate_changelog.py
- name: Build package
run: python -m build
- name: Create draft release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create ${{ github.ref_name }} \
--draft \
--title "${{ github.ref_name }}" \
--notes-file CHANGELOG.md \
dist/*