jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

Add bump go version script and instructions

Open EyalDelarea opened this issue 1 year ago • 0 comments

  • [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 dev branch.
  • [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:

  1. updates the relevant files.
  2. updates go mod and run go mod tidy
  3. commits the changes
  4. provide further instructions for updating the go version.

Video:

https://github.com/jfrog/jfrog-cli/assets/23456142/a3e759ce-cb4b-472f-bd66-a7e79454e509

EyalDelarea avatar May 20 '24 10:05 EyalDelarea