Created
January 19, 2023 21:55
-
-
Save aeldar/a0cab8eb481eff5ff356cb8c184db9c8 to your computer and use it in GitHub Desktop.
Gegenerate unique and sequential version of the app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
COMMIT_COUNT=$(git rev-list --count HEAD) | |
COMMIT_HASH=$(git rev-parse --short HEAD) | |
echo ${COMMIT_COUNT}-${COMMIT_HASH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment