Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have an option to not run git commands during the build process #4

Closed
harshula opened this issue May 15, 2023 · 5 comments
Closed

Have an option to not run git commands during the build process #4

harshula opened this issue May 15, 2023 · 5 comments
Assignees

Comments

@harshula
Copy link

exp/MOM_compile.csh calls exp/version_compile.csh and that calls exp/update_version.csh

exp/update_version.csh:

set old_hash=`grep 'public :: MOM_COMMIT_HASH' ../src/version/version.F90 | cut -d '"' -f 2 | cut -d '=' -f 2`
set new_hash=`git rev-parse HEAD`
@harshula
Copy link
Author

This commit in the development branch removes git execution during the build: 926d370

@harshula harshula self-assigned this Jul 5, 2023
@harshula
Copy link
Author

harshula commented Aug 3, 2023

The development branch commit has been accidentally merged to main via PR #6

@aidanheerdegen
Copy link

There is a related issue on the upstream mom-ocean#308

I will put in a fix there and rebase/merge those changes into our fork.

@harshula harshula changed the title Stop running git commands during the build process Have an option to not run git commands during the build process Aug 4, 2023
@aidanheerdegen
Copy link

This is the upstream PR

mom-ocean#384

@harshula
Copy link
Author

Commit d7ba13a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants