File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ create-operator-json:
166166 artifacts : true
167167 script :
168168 - |
169- export CI_COMMIT_TAG=" operator/v1.0.0 "
169+ export version="${CI_COMMIT_TAG# operator/} "
170170 cat > operator.json << EOF
171171 {
172172 "skyhook": {
@@ -181,7 +181,7 @@ create-operator-json:
181181 "artifacts": [
182182 {
183183 "name": "operator",
184- "version": "${CI_COMMIT_TAG#operator/ }",
184+ "version": "${version }",
185185 "type": "container"
186186 }
187187 ]
@@ -200,7 +200,7 @@ create-agent-json:
200200 artifacts : true
201201 script :
202202 - |
203- export CI_COMMIT_TAG=" agent/v1.0.0 "
203+ export version="${CI_COMMIT_TAG# agent/} "
204204 cat > agent.json << EOF
205205 {
206206 "skyhook": {
@@ -215,7 +215,7 @@ create-agent-json:
215215 "artifacts": [
216216 {
217217 "name": "agent",
218- "version": "${CI_COMMIT_TAG#agent/ }",
218+ "version": "${version }",
219219 "type": "container"
220220 }
221221 ]
You can’t perform that action at this time.
0 commit comments