Skip to content

Commit

Permalink
github action for creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
lone17 committed Apr 26, 2024
1 parent bbe862f commit aeefff7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release-installer-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: |
mkdir kotaemon-app
echo ${{ github.sha }} > kotaemon-app/VERSION
cp LICENSE.txt kotaemon-app/
cp libs/ktem/flowsettings.py kotaemon-app/
cp libs/ktem/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

0 comments on commit aeefff7

Please sign in to comment.