Skip to content

Commit

Permalink
update VERSION command placement
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakf committed Apr 1, 2024
1 parent b70949a commit 9bd2d87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ python -m pip install --upgrade pip
python -m pip install --no-deps -r requirements.txt
python -m pip install --no-deps .
python setup.py install
# Get version
VERSION=$(cat VERSION.txt)

# go back go the ./gdc_client/bin dir
cd bin
Expand All @@ -90,7 +92,6 @@ pip install --upgrade setuptools
# VERSION=$(python -c "
# import gdc_client.version
# print(gdc_client.version.__version__)")
VERSION=$(cat VERSION.txt)

echo "Creating ${TARGET_ENVIRONMENT} package for version ${VERSION}..."

Expand Down

0 comments on commit 9bd2d87

Please sign in to comment.