jfrog-cli
jfrog-cli copied to clipboard
Add bump go version script and instructions
- [x] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
- [x] The pull request is targeting the
devbranch. - [x] The code has been validated to compile successfully by running
go vet ./.... - [x] The code has been formatted properly using
go fmt ./....
Added a script to mimic the latest update go PR https://github.com/jfrog/jfrog-cli/pull/2540 with added steps to make the update of go version easier.
This could be used to update the major and minor version of go. minor version will effect only the jenkinsfile and major will effect all the files.
The scripts:
- updates the relevant files.
- updates go mod and run go mod tidy
- commits the changes
- provide further instructions for updating the go version.
Video:
https://github.com/jfrog/jfrog-cli/assets/23456142/a3e759ce-cb4b-472f-bd66-a7e79454e509