From 608eee35a0822df5809c09a06f0498398b0c6b76 Mon Sep 17 00:00:00 2001 From: Dylan Paiton Date: Thu, 20 Jun 2024 18:34:22 -0700 Subject: [PATCH] v0.21.5; fix gh release (#1556) --- .github/workflows/build_and_upload.yml | 5 ++--- pyproject.toml | 2 +- scripts/generate_deps.sh | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_upload.yml b/.github/workflows/build_and_upload.yml index b408e75d27..cf7016b0f4 100644 --- a/.github/workflows/build_and_upload.yml +++ b/.github/workflows/build_and_upload.yml @@ -89,7 +89,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: frozen-dependencies - path: dist/frozen-requirements.txt + path: ./frozen-requirements.txt upload-dependencies: needs: [generate-dependencies] @@ -101,10 +101,9 @@ jobs: uses: actions/download-artifact@v4 with: pattern: frozen-requirements.txt - path: dist - name: Upload dependency list to release env: GH_TOKEN: ${{ github.token }} shell: bash run: | - gh release upload ${{ github.ref_name }} ./dist/frozen-requirements.txt + gh release upload ${{ github.ref_name }} ./frozen-requirements.txt diff --git a/pyproject.toml b/pyproject.toml index fbd6f78311..8567c75f03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agent0" -version = "0.21.4" +version = "0.21.5" # Authors are the current, primary stewards of the repo # contributors can be found on github authors = [ diff --git a/scripts/generate_deps.sh b/scripts/generate_deps.sh index 05184af4ad..1a5ab5b329 100644 --- a/scripts/generate_deps.sh +++ b/scripts/generate_deps.sh @@ -8,7 +8,7 @@ source .venv/bin/activate pip install agent0 # Export dependency versions used to build the wheel -FREEZE_FILE="dist/frozen-requirements.txt" +FREEZE_FILE="frozen-requirements.txt" timestamp="$(date)" version="$(git describe --abbrev=12 --always)" echo -e "# Generated at $timestamp ($version)\n" > $FREEZE_FILE