Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Assign slug a commit ID for Git based projects #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Binarytales
Copy link

Resolves #132

Use 'git rev-parse HEAD` to capture the Git commit ID and make this available to the slug set-up

If Git is not present or the project is not using Git a failure code from the command will result in undefined being returned and the commit will not be set on the slug which is what currently happens.

…vailable to the slug set-up

If Git is not present or the project is not using Git a failure code from the command will result in undefined being returned and the commit will not be set on the slug which is what currently happens.
@darrinholst
Copy link

👍 Would ❤️ to see this added.

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

Successfully merging this pull request may close these issues.

2 participants