wilfred-s commented on pull request #372:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/372#issuecomment-1041029831


   The go.mod file needs an update to pick up the latest version of the 
scheduler interface. Please follow these steps to pick up the new scheduler 
interface changes:
   
   1. Make sure you are in the directory where the scheduler interface code is 
located.
   2. Update the local checked out code of the scheduler interface for the 
master branch to get the latest commit:
   ```git checkout master; git pull; git status```
   The status should show up to date with the origin from where it was cloned.
   1. Run the following command to get the pseudo version:
   ```TZ=UTC git --no-pager show --quiet --abbrev=12 
--date='format-local:%Y%m%d%H%M%S'  --format="v0.0.0-%cd-%h"```
   This command will print a line like this:
   ```v0.0.0-20220214023648-0de002ac41d3```
   1. Update the go.mod file for the core repository
         -   Copy the whole generated version reference
         -   Open the go.mod file
         -   Replace the scheduler interface version reference with the one 
generated in step 5.
   
   Save the go.mod file and commit/push the change to add it to this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to