Skip to content

Commit

Permalink
Fix nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Oct 19, 2023
1 parent 96917f8 commit d8e6d48
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,20 @@ jobs:
if: steps.list-commits.outputs.commits == ''
uses: andymckay/[email protected]

- uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Setup Poetry
uses: ./.github/actions/setup-poetry

- name: Set dev version
id: version
run: |
versionFile="pinecone/__version__"
currentDate=$(date +%Y%m%d%H%M%S)
versionNumber=$(cat $versionFile)
versionNumber=$(poetry version -s)
devVersion="${versionNumber}.dev${currentDate}"
echo "$devVersion" > $versionFile
poetry version $devVersion
- name: Adjust module name
run: |
Expand All @@ -45,13 +51,6 @@ jobs:
run: |
echo "This is a nightly developer build of the Pinecone Python client. It is not intended for production use." > README.md
- uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Setup Poetry
uses: ./.github/actions/setup-poetry

- name: Build Python client
run: make package

Expand Down

0 comments on commit d8e6d48

Please sign in to comment.