Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

oshadmi
Copy link
Collaborator

@oshadmi oshadmi commented Nov 4, 2021

No description provided.

@oshadmi oshadmi marked this pull request as ready for review November 7, 2021 22:03
@oshadmi oshadmi requested a review from rafie November 7, 2021 22:03
build.rs Outdated

fn main() {
// Expose GIT_SHA env var
let gitsha = Command::new("git").args(&["rev-parse", "HEAD"]).output();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

["rev-parse", "--short", "HEAD"]

@rafie
Copy link
Contributor

rafie commented Nov 8, 2021

We can also add git rev-parse --abbrev-ref HEAD for GIT_BRANCH.

@oshadmi oshadmi merged commit decd330 into master Nov 8, 2021
@oshadmi oshadmi deleted the omer_gitsha branch November 8, 2021 07:32
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

Successfully merging this pull request may close these issues.

2 participants