This commit is contained in:
leedongmyung[desktop] 2023-12-03 08:57:10 +09:00
parent 1d7d016b3c
commit 6d4217252b

View file

@ -1,11 +1,15 @@
---
property:
workspace: .
revision: c65a8bb
pipeline:
id: main
workflow:
- async: git
# - async: git
- exe: git
- exe: buildDart
# - exe: json-reader
@ -15,48 +19,48 @@ pipeline:
#비동기식 실행, 해당 수행이 완료됨과 관계없이 실행하고 다음 스텝을 실행한다
# - exe: buildDart
- switch:
condition-string: <!property.old-version>
cases:
#case 아이템 하나에 여러 작업을 array형태로 할당
- value: 0.0.155
tasks:
- exe: git
# - switch:
# condition-string: <!property.old-version>
# cases:
# #case 아이템 하나에 여러 작업을 array형태로 할당
# - value: 0.0.153
# tasks:
# - exe: git
- async: git-count
# - async: git-count
- wait-until-string: <!state.git-count> != complete
# - wait-until-string: <!state.git-count> != complete
- async: git-rev
# - async: git-rev
- while:
condition-string: <!property.git-rev> == null
on-do:
- exe: git
- switch:
condition-string: <!property.git-rev>
cases:
#case 아이템 하나에 여러 작업을 array형태로 할당
- value: b6c2d44b2ec8b1a22fd9a88f4779e250b6ddc6b1
tasks:
- exe: git
# - while:
# condition-string: <!property.git-rev> == null
# on-do:
# - exe: git
# - switch:
# condition-string: <!property.git-rev>
# cases:
# #case 아이템 하나에 여러 작업을 array형태로 할당
# - value: b6c2d44b2ec8b1a22fd9a88f4779e250b6ddc6b1
# tasks:
# - exe: git
#일반적인 if문과 동일
- if:
#property의 내용은 기본 dynamic(Object)형으로써, 비교시 정확한 캐스팅 필요, 적지 않을시 기본 string
condition-string: <!property.git-rev> != <!property.old-git-rev>
on-true:
- exe: zip
# - if:
# #property의 내용은 기본 dynamic(Object)형으로써, 비교시 정확한 캐스팅 필요, 적지 않을시 기본 string
# condition-string: <!property.git-rev> != <!property.old-git-rev>
# on-true:
# - exe: zip
commands:
### 콜백이 필요없는 단순 깃 명령 호출
- command: Git
id: git
param:
workspace: ./../dart_framework
commands:
- restore .
- clean -f
- checkout c65a8bb
### 깃 리비전 정보 저장
- command: GitRev