github action for creating release #6
Workflow file for this run
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: Release installer package | |
on: push | |
jobs: | |
relase-installer-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the repo | |
uses: actions/checkout@v4 | |
- name: Create release folder | |
run: | | |
pip install "setuptools-git-versioning>=2.0,<3" | |
mkdir kotaemon-app | |
setuptools-git-versioning > kotaemon-app/VERSION | |
cp LICENSE.txt kotaemon-app/ | |
cp flowsettings.py kotaemon-app/ | |
cp launch.py kotaemon-app/ | |
cp -r scripts kotaemon-app/ | |
zip -r kotaemon-app.zip kotaemon-app | |
- name: Show release folder | |
run: tree kotaemon-app | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: kotaemon-app.zip | |
name: test-release | |
draft: true | |
fail_on_unmatched_files: true |