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

Link a gx version/hash with a git hash #190

Open
schomatis opened this issue Aug 7, 2018 · 2 comments
Open

Link a gx version/hash with a git hash #190

schomatis opened this issue Aug 7, 2018 · 2 comments
Assignees

Comments

@schomatis
Copy link
Collaborator

Is there a way to know, in the case git is used, what is the hash of the commit that was published in lastpubver? And if not, could that be added (as an option) to lastpubver or package.json?

The only way I can think of right now is to look for the gx publish commit and do git rev-parse --short HEAD~1.

@schomatis schomatis self-assigned this Aug 7, 2018
@Stebalien
Copy link
Collaborator

That's exactly what I do but yes, it would be nice to have this information committed (ideally in ~/.gx/gitcommit or something like that). I could have sworn there was an issue for this but I guess not...

@schomatis
Copy link
Collaborator Author

Related to #82 (augment lastpubver).

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

No branches or pull requests

2 participants