Merge pull request #213 from griptape-ai:212-update-to-griptape-110 #11
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: Create Release with Changelog | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
- name: Read version from pyproject.toml | |
id: get_version | |
run: | | |
VERSION=$(poetry version -s) | |
echo "version=$VERSION" >> $GITHUB_ENV | |
- name: Create GitHub Release | |
uses: actions/create-release@v1 | |
with: | |
tag_name: "v${{ env.version }}" | |
release_name: "v${{ env.version }}" | |
body: | | |
See the full changelog [here](https://github.com/griptape-ai/ComfyUI-Griptape/blob/main/CHANGELOG.md). | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |