-
Notifications
You must be signed in to change notification settings - Fork 14
43 lines (36 loc) · 1017 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 }}