Skip to content

Commit f71f3aa

Browse files
committed
added quotes around version number in python
otherwise considers version number a variable instead of a string
1 parent c4273fe commit f71f3aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Integrations/Autodesk/maya/scripts/unityOneClick/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@defgroup UnityOneClickPluginVersion Plugin Version
2020
@ingroup UnityOneClickPlugin
2121
"""
22-
VERSION = build20170921001
22+
VERSION = 'build20170921001'
2323

2424
def pluginPrefix():
2525
"""

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ add_custom_target(
9898
"${CMAKE_SOURCE_DIR}/scripts/file-search-replace.py"
9999
"${CMAKE_SOURCE_DIR}/Assets/Integrations/Autodesk/maya/scripts/unityOneClick/version.py"
100100
".*VERSION.*=.*"
101-
"VERSION = ${PACKAGE_VERSION}"
101+
"VERSION = '${PACKAGE_VERSION}'"
102102
DEPENDS "${CMAKE_SOURCE_DIR}/scripts/file-search-replace.py"
103103
COMMENT "Replacing version number in files"
104104
)

0 commit comments

Comments
 (0)