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

Tag the full SHA not the short SHA #46

Merged
merged 1 commit into from
Dec 4, 2021
Merged

Tag the full SHA not the short SHA #46

merged 1 commit into from
Dec 4, 2021

Conversation

johnboyes
Copy link
Collaborator

GitHub's Checkout action needs the full SHA in order to checkout a
commit
.

To get the full SHA we simply use a bash array which outputs its
first element.

GitHub's [Checkout action][1] needs the [full SHA in order to checkout a
commit][2].

To get the full SHA we simply use a [bash array][3] which outputs its
first element.

[1]: https://github.com/actions/checkout
[2]: actions/checkout#265
[3]: https://opensource.com/article/18/5/you-dont-know-bash-intro-bash-arrays
@johnboyes johnboyes temporarily deployed to available-pets-pr-46 December 4, 2021 20:59 Inactive
@johnboyes johnboyes merged commit 26be778 into master Dec 4, 2021
@johnboyes johnboyes deleted the tag-full-sha branch December 4, 2021 21:01
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.

1 participant