Skip to content

Commit 6c10c3e

Browse files
committed
I believe this will automatically create binaries named "nightly_build_yyyyMMddhhmmss" once it detect changes in kwdb repository.
1 parent 247de61 commit 6c10c3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
tar -xf win_flex_bison-2.5.25.zip -C C:\win_flex_bison
100100
- run:
101101
name: compile
102-
command: |
102+
command: |
103103
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
104104
$instanceId = & $vswhere -property instanceId -format value
105105
$installationPath = & $vswhere -property installationPath -format value
@@ -132,7 +132,7 @@ jobs:
132132
tar -xf win_flex_bison-2.5.25.zip -C C:\win_flex_bison
133133
- run:
134134
name: compile
135-
command: |
135+
command: |
136136
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
137137
$instanceId = & $vswhere -property instanceId -format value
138138
$installationPath = & $vswhere -property installationPath -format value
@@ -214,6 +214,9 @@ jobs:
214214
git add builtins.txt builtins_txt.cc kwdb_version.txt
215215
git commit -m "update builtins_txt [ci skip]"
216216
git push --set-upstream origin ${CIRCLE_BRANCH}
217+
tagname="nightly_build_$(date +%Y%m%d%H%M%S)"
218+
git tag -a ${tagname} -m "automatically created"
219+
git push --set-upstream origin ${CIRCLE_BRANCH} ${tagname}
217220
fi
218221
219222
parameters:

0 commit comments

Comments
 (0)