Skip to content

Commit

Permalink
try old package version way with fetch depth: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakf committed Apr 1, 2024
1 parent c43b8b1 commit 0526689
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ 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)
# VERSION=$(cat VERSION.txt)

# go back go the ./gdc_client/bin dir
cd bin
Expand All @@ -89,9 +89,9 @@ pip install -U PyInstaller
pip install --upgrade setuptools

# Get version
# VERSION=$(python -c "
# import gdc_client.version
# print(gdc_client.version.__version__)")
VERSION=$(python -c "
import gdc_client.version
print(gdc_client.version.__version__)")

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

Expand Down

0 comments on commit 0526689

Please sign in to comment.