Skip to content

Commit

Permalink
#patch github action for updating app version
Browse files Browse the repository at this point in the history
  • Loading branch information
lone17 committed Apr 26, 2024
1 parent 2a7ecf6 commit e30be5f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/release-installer-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,33 @@ name: Release installer package
on: push

jobs:
relase-installer-package:
release-installer-package:
runs-on: ubuntu-latest
steps:
- name: Clone the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update Application Version
id: update-version
# uses: paulhatch/semantic-version@v5.3.0
# with:
# tag_prefix: "v"
# major_pattern: "(MAJOR)"
# minor_pattern: "(MINOR)"
# version_format: "${major}.${minor}.${patch}"
# bump_each_commit: true
# bump_each_commit_patch_pattern: "(PATCH)"
# debug: true
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
- name: Create release folder
run: |
echo "${{ steps.update-version.outputs.tag }}"
pip install "setuptools-git-versioning>=2.0,<3"
setuptools-git-versioning
mkdir kotaemon-app
setuptools-git-versioning > kotaemon-app/VERSION
cp LICENSE.txt kotaemon-app/
Expand Down

0 comments on commit e30be5f

Please sign in to comment.