Update make_rpmSVOnly.py

This commit is contained in:
Patric Karwat committed 2025-09-05 06:25:58 +00:00
1 parent 88a980631a
commit c13d5546e1
1 file changed
+3 -4
+3 -4
View File
@@ -30,10 +30,9 @@ class build(object):
self.output_dir = "/shd/CTC/TOOLS/TDS-rpmbuild/"
self.version_maj = 1
self.version_min = 1
self.version_rev = 0
self.version_rev = os.getenv( "BUILD_NUMBER" )
self.cmake_version_prefix = "TDS"
self.source_dir_rel = "TDS-Source"
self.svn_fullpath = None
self.source_dir_rel = "legatus"
self.buildtype = os.getenv( "CMAKE_BUILD_TYPE" )
if self.buildtype == None or self.buildtype == "":
@@ -57,7 +56,7 @@ class build(object):
print(" Project name: %s" % self.project_name)
print(" SVN Path: %s" % self.svn_fullpath)
print(" Version: %s.%s-%s" % ( self.version_maj, self.version_min, self.version_rev ))
print(" Jenkins build number: %s" % os.getenv( "BUILD_NUMBER" ))
print(" GitLab-CI build number: %s" % os.getenv( "BUILD_NUMBER" ))
print(" Date: %s" % self.version_date)
print("")
time.sleep(2)