File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = " org.strykeforce"
8- version = " 20.8.3 "
8+ version = " 21.0.0 " // updated by scripts/bump.py
99
1010repositories {
1111 jcenter()
Original file line number Diff line number Diff line change @@ -85,6 +85,19 @@ def update_ansible(self):
8585 with open (ans , "w" ) as file :
8686 file .writelines (lines )
8787
88+ def update_client (self ):
89+ """ Bump Java client library version. """
90+ gradle = self .deadeye_dir / "client" / "build.gradle.kts"
91+
92+ with open (gradle , "r" ) as file :
93+ lines = file .readlines ()
94+
95+ assert lines [7 ].startswith ("version = " )
96+ lines [7 ] = f'version = "{ self .version ()} " // updated by scripts/bump.py\n '
97+
98+ with open (gradle , "w" ) as file :
99+ file .writelines (lines )
100+
88101
89102if __name__ == "__main__" :
90103 parser = argparse .ArgumentParser (description = "Bump Deadeye to specified version." )
@@ -104,5 +117,6 @@ def update_ansible(self):
104117 version .update_daemon ()
105118 version .update_admin ()
106119 version .update_ansible ()
120+ version .update_client ()
107121
108122 print (f"Updated version to { version .version ()} " )
You can’t perform that action at this time.
0 commit comments