Realease #1
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: Realease | |
on: | |
pull_request_target: | |
branches: | |
- master | |
types: | |
- closed | |
workflow_dispatch: | |
inputs: | |
number: | |
description: PR number | |
required: true | |
debug_enabled: | |
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: 'false' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Install dependencies | |
run: pip install toml | |
- name: Read version from pyproject.toml | |
id: read-version | |
run: | | |
version=$(python -c 'import toml; print(toml.load("pyproject.toml")["tool"]["poetry"]["version"])') | |
printf "LITELLM_VERSION=%s" "$version" >> $GITHUB_ENV | |
- name: Display version | |
run: echo "Current version is $LITELLM_VERSION" | |
- name: Create Release | |
id: create_release | |
uses: joutvhu/create-release@v1 | |
with: | |
tag_name: v2.0.0 | |
name: Release v2.0.0 | |
body: | | |
# What's Changed | |
- Change in structure to closely follow the features available in the original Flunt implementation. | |
- Add new feature Credit Card Validation by @fazedordecodigo in #10 | |
- Update Dockstrings by @fazedordecodigo in #17 | |
- Update Readme by @fazedordecodigo in #21 | |
- Update CD by @fazedordecodigo in #22 | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |