Skip to content

Commit b4e0488

Browse files
committed
Nevermind, it was not this change.
1 parent 00408f5 commit b4e0488

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci-docs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,9 @@ jobs:
9595
# We support setting the version and build for manual builds.
9696
# We only use a non-zero build # when making multiple manual builds in one day.
9797
run: |
98-
echo "MAJOR_DOT_MINOR_VERSION_NUMBER=" >> $GITHUB_ENV
99-
cat ${PATH_TO_VERSION_FILE} >> $GITHUB_ENV
100-
#echo "EOF" >> $GITHUB_ENV
101-
#echo "MAJOR_DOT_MINOR_VERSION_NUMBER=$(cat ${PATH_TO_VERSION_FILE})" >> $GITHUB_ENV
98+
major_dot_minor_version_number="$(cat ${PATH_TO_VERSION_FILE})"
10299
if test -z "${{ github.event.inputs.version }}"; then
103-
export VERSION_NUMBER=$MAJOR_DOT_MINOR_VERSION_NUMBER.$((`git log -n 1 --format=%ct` / (60*60*24)))
100+
export VERSION_NUMBER=$major_dot_minor_version_number.$((`git log -n 1 --format=%ct` / (60*60*24)))
104101
else
105102
export VERSION_NUMBER=${{ github.event.inputs.version }}
106103
fi

0 commit comments

Comments
 (0)