Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 67066eb

Browse files
authored
fix typo in version string (#9516)
1 parent 631df0f commit 67066eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ cache:
4646
- >
4747
VERSION="$(sed -r -n '1,/^version/s/^version = "([^"]+)".*$/\1/p' < Cargo.toml)";
4848
if [ "${CI_COMMIT_REF_NAME}" = "nightly" ]; then
49-
COMMIT_REF_SHORT="echo ${CI_COMMIT_REF} | grep -oE '^.{7}')";
49+
COMMIT_REF_SHORT="$(echo ${CI_COMMIT_REF} | grep -oE '^.{7}')";
5050
DATE_STRING="$(date +%Y%m%d)";
5151
export VERSION="${VERSION}-${COMMIT_REF_SHORT}-${DATE_STRING}";
5252
fi;

0 commit comments

Comments
 (0)