From f27d2064b2af576ec019c58818d8926e5cd9aef9 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Fri, 22 Mar 2024 16:16:28 -0500 Subject: [PATCH] Use HEAD instead of master --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da00162cc..869d861a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,8 @@ build: - docker script: - export VERSION_NAME=`git describe --tags --dirty` - - export VERSION_CODE=`git rev-list --first-parent --count master` + - export VERSION_CODE=`git rev-list --first-parent --count HEAD` + - echo $VERSION_CODE $VERSION_NAME - ./setUpPropertiesCI.sh - gradle assembleRelease -s - mv build/outputs/apk/release/latinime-release.apk ./keyboard-$VERSION_NAME.apk