From 119f674a0a38066e90c8405b799ba4cc4e31d842 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sun, 19 Jan 2020 18:00:16 -0700 Subject: [PATCH] Improved artifact name generation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f770d9f..d400872 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ARTIFACT_FILES=app node_modules vendor .env.example LICENSE mix-manifest.json README.md index.php -ARTIFACT_NAME="DirectoryLister-$$(git rev-parse --short HEAD)" +ARTIFACT_NAME="DirectoryLister-$$(git describe --tags --exact-match HEAD 2> /dev/null || git rev-parse --short HEAD)" dev development: # Build application for development @composer install --no-interaction