We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6f3b2 commit 61989c9Copy full SHA for 61989c9
.ldrelease/update-version.sh
@@ -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