Skip to content

Commit

Permalink
To include lightweight tags also
Browse files Browse the repository at this point in the history
  • Loading branch information
kolipakakondal committed Jun 4, 2020
1 parent 87b6e8c commit 0fb0c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build:
expire_in: 2 weeks
script:
# Use an unique name for the archive
- UNIQ_SUFFIX="$(git describe --dirty --abbrev=8)"
- UNIQ_SUFFIX="$(git describe --tags --dirty --abbrev=8)"
- mkdir -p ${ARCHIVE_DIR} && echo "${UNIQ_SUFFIX}" > ${ARCHIVE_DIR}/uniq_suffix_value
- ARCHIVE_NAME=${ORIGIN_NAME/1.1.1-SNAPSHOT/$UNIQ_SUFFIX}
# build
Expand Down

0 comments on commit 0fb0c0c

Please sign in to comment.