Fix sed command delimiter for updating timestamp in version.py

This commit is contained in:
SergeantPanda 2025-04-27 18:30:15 -05:00
parent cb62a13c40
commit 202ef265de

View file

@ -52,7 +52,7 @@ jobs:
# Update the timestamp in version.py # Update the timestamp in version.py
echo "Updating timestamp to ${TIMESTAMP} in version.py" echo "Updating timestamp to ${TIMESTAMP} in version.py"
sed -i "s/__timestamp__ = None.*/__timestamp__ = '${TIMESTAMP}' # Set during CI/CD build process/" version.py sed -i "s|__timestamp__ = None.*|__timestamp__ = '${TIMESTAMP}' # Set during CI/CD build process|" version.py
cat version.py # Verify the file was updated correctly cat version.py # Verify the file was updated correctly
# Make the version.py change part of the Docker build context # Make the version.py change part of the Docker build context