Skip to content

Commit 61989c9

Browse files
committed
fix version update for release
1 parent 5b6f3b2 commit 61989c9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.ldrelease/update-version.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# Update version in ldclient/version.py
4+
echo "VERSION = \"${LD_RELEASE_VERSION}\"" > ldclient/version.py
5+
6+
# Update version in setup.py
7+
SETUP_PY_TEMP=./setup.py.tmp
8+
sed "s/ldclient_version=.*/ldclient_version='${LD_RELEASE_VERSION}'/g" setup.py > ${SETUP_PY_TEMP}
9+
mv ${SETUP_PY_TEMP} setup.py

0 commit comments

Comments
 (0)