File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 7070 architecture : ' x64'
7171
7272 - script : |
73- if [ "$(ReleaseType)" == "major" ]; then
74- python build/version_bumper.py
75- else
76- python build/version_bumper.py --$(ReleaseType)
77- fi
73+ python build/version_bumper.py --$(ReleaseType)
7874 python setup.py sdist
7975 displayName: 'Build sdist'
8076
Original file line number Diff line number Diff line change 66 parser = argparse .ArgumentParser ()
77 parser .add_argument ("--revision" , help = "Toggle if you're doing a revision version." , action = "store_true" )
88 parser .add_argument ("--minor" , help = "Toggle if you're doing a minor version." , action = "store_true" )
9+ parser .add_argument ("--major" , help = "Toggle if you're doing a major version." , action = "store_true" )
910 args = parser .parse_args ()
1011
1112 client = xmlrpc .client .ServerProxy ('https://pypi.org/pypi' )
3031 version_array .extend ("0" )
3132 minor_version = int (version_array [- 2 ])
3233 version_array [- 2 ] = str (minor_version + 1 )
33- else :
34+ elif args . major :
3435 major_version = int (version_array [0 ])
3536 version_array = [str (major_version + 1 ), "0" , "0" ]
36-
37+ else :
38+ parser .error ("Release type not specified" )
3739 version = "." .join (version_array )
3840
3941 with fileinput .FileInput ("setup.py" , inplace = True , backup = '.bak' ) as setup_file :
Original file line number Diff line number Diff line change 1212==========
1313
1414**Scan Test Endpoints Script**
15- * New function to discover Client Side and Server Side BDD test flows through the CI/CD Probe.
15+ * New function to discover Client Side and Server Side BDD test flows through the CI/CD Probe.
1616
1717**CI/CD Probe Integration Enhancements**
18- For enhanced BDD test execution, flexibility and security, two new parameters were added:
19- * --exclude_pattern: to specify the exclude pattern (using a regular expression) for the BDD test flows.
20- * --cicd_probe_key: to enhance the security of the CI/CD Probe API calls.
18+ * For enhanced BDD test execution, flexibility and security, two new parameters were added:
19+ * --exclude_pattern: to specify the exclude pattern (using a regular expression) for the BDD test flows.
20+ * --cicd_probe_key: to enhance the security of the CI/CD Probe API calls.
2121
2222**Bug Fixes**
23- * Fixed the issue related with loading the manifest file when the path directories included spaces.
24- * Fixed the evaluate_test_results script to correctly use the provided input parameter instead of relying on default value.
23+ * Fixed the issue related with loading the manifest file when the path directories included spaces.
24+ * Fixed the evaluate_test_results script to correctly use the provided input parameter instead of relying on default value.
2525
2626
2727Installing and upgrading
You can’t perform that action at this time.
0 commit comments