Open TomasTorsvik opened 3 days ago
Updating a NorESM component tag has two goals:
git checkout --recurse-submodules <new_tag>
at the top level should checkout the NorESM tree to the correct state.fxtag
entries in the top-level .gitmodules fileI think this is procedure should always work:
git checkout -b update-blom-tag NorESM/noresm_develop && ./bin/git-fleximod update --optional
).
git submodule status
should be 'clean' (the first column is blank for all submodules).git submodule update
.
git submodule status
should be clean.fxtag
value in the blom
submodule section of the .gitmodules file with the new BLOM tag.git commit -a -m 'Updated BLOM tag to rev.x.y.z.q'
.Also, would it be possible make BLOM tags annotated? dev1.6.1.5
is but the others in the dev1.6.1 series are not.
@gold2718 - Thanks for the procedure. I will copy this into the git-fleximod discussion #599 for later reference.
I was not mindful about the difference between lightweight and annotated tags. It would seem that tags created via the gitHub interface are always lightweight. So annotated tags should be created outside gitHub and be pushed to the repository, before creating the release. Is this procedure documented somewhere?
I have removed the previous tag and created a new annotated dev1.6.1.10
tag.
I would like to update
noresm_develop
with the new blom tagdev1.6.1.10
. How is this done when using the git fleximod system?I see that I should update the
.gitmodules
file, but should I also do something in the components directory?