File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments