diff --git a/.env.example b/.env.example index f7f748e..8267d1d 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ # * Meeseeks Settings # - VERSION: Version of your application (There is no need to change these value) # - ENVMODE: Environment mode of your application (valid options: dev, prod) -VERSION=0.1.0 +VERSION=1.0.0 ENVMODE=dev LOG_LEVEL=DEBUG CACHE_DIR='/path/to/cache/directory' diff --git a/.github/workflows/docker-buildx.yml b/.github/workflows/docker-buildx.yml index 875850c..b27364b 100644 --- a/.github/workflows/docker-buildx.yml +++ b/.github/workflows/docker-buildx.yml @@ -22,7 +22,7 @@ on: workflow_dispatch: push: branches: - - 'release/*' + - "release/*" jobs: build: @@ -42,20 +42,24 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Extract branch name - shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch + shell: bash + run: | + BRANCH_NAME=$(echo ${{ github.ref }} | sed 's/refs\/heads\///') + echo "branch=$BRANCH_NAME" >> $GITHUB_ENV + echo "Extracted branch name: $BRANCH_NAME" - name: Set version and channel id: version_channel run: | - BRANCH_NAME=${{ steps.extract_branch.outputs.branch }} + BRANCH_NAME=${{ env.branch }} VERSION=$(echo $BRANCH_NAME | cut -d'/' -f 2 | cut -d'-' -f 1) CHANNEL=$(echo $BRANCH_NAME | cut -d'/' -f 2 | cut -d'-' -f 2) - echo "VERSION=$VERSION" - echo "CHANNEL=$CHANNEL" - echo "::set-output name=version::$VERSION" - echo "::set-output name=channel::$CHANNEL" + echo "version=$VERSION" >> $GITHUB_ENV + echo "channel=$CHANNEL" >> $GITHUB_ENV + echo "Extracted version: $VERSION" + echo "Extracted channel: $CHANNEL" + echo "Extracted branch name: $BRANCH_NAME" - name: Build and push uses: docker/build-push-action@v2 @@ -63,6 +67,6 @@ jobs: context: . push: true tags: | - ghcr.io/bearlike/meeseeks-chat:${{ steps.version_channel.outputs.version }}${{ steps.version_channel.outputs.channel == 'dev' && '-dev' || '' }} - ghcr.io/bearlike/meeseeks-chat:${{ steps.version_channel.outputs.channel == 'latest' && 'latest' || steps.version_channel.outputs.channel == 'stable' && 'stable' || '' }} + ghcr.io/bearlike/meeseeks-chat:${{ env.version }}${{ env.channel == 'dev' && '-dev' || '' }} + ghcr.io/bearlike/meeseeks-chat:${{ env.channel == 'latest' && 'latest' || env.channel == 'stable' && 'stable' || 'dev' }} platforms: linux/amd64,linux/arm64,linux/arm/v7 diff --git a/Dockerfile b/Dockerfile index 4711b7b..1a60a7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-buster # Set the title, GitHub repo URL, version, and author ARG TITLE="Meeseeks Chat: Personal Assistant" \ - VERSION="0.1.0" \ + VERSION="1.0.0" \ GITHUB_REPO_URL="https://github.com/bearlike/Personal-Assistant" \ AUTHOR="Krishnakanth Alagiri" diff --git a/build-install.sh b/build-install.sh index 435a5da..88d28c1 100644 --- a/build-install.sh +++ b/build-install.sh @@ -31,7 +31,7 @@ function build_and_install() { mv dist/*.whl ../ # Install the package - if ! pip install ../$1-0.1.0-py3-none-any.whl; then + if ! pip install ../$1-1.0.0-py3-none-any.whl; then echo "Error: Failed to install the $1 package" exit 1 fi diff --git a/meeseeks-api/pyproject.toml b/meeseeks-api/pyproject.toml index 1a477fd..32b0a69 100644 --- a/meeseeks-api/pyproject.toml +++ b/meeseeks-api/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "meeseeks-api" -version = "0.1.0" +version = "1.0.0" description = "REST API Engine wrapped around the meeseeks-core" authors = ["Krishnakanth Alagiri "] license = "MIT" diff --git a/meeseeks-chat/pyproject.toml b/meeseeks-chat/pyproject.toml index 647540a..0ec230c 100644 --- a/meeseeks-chat/pyproject.toml +++ b/meeseeks-chat/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "meeseeks-chat" -version = "0.1.0" +version = "1.0.0" description = "Chat Interface wrapped around the meeseeks-core. Powered by Streamlit." authors = ["Krishnakanth Alagiri "] license = "MIT" diff --git a/pyproject.toml b/pyproject.toml index f6aefaa..13db417 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "meeseeks" -version = "0.1.0" +version = "1.0.0" description = "Core module for Meeseeks - A powerful multi-LLM-agent assistant for complex tasks with support for tools integration." authors = ["Krishnakanth Alagiri "] license = "MIT"