Skip to content

Commit 3dd6669

Browse files
authored
Merge pull request #690 from JBBianchi/issue-688-semver
Enforced semantic versioning for `version`
2 parents 6367a2e + 8e70d39 commit 3dd6669

File tree

10 files changed

+115
-117
lines changed

10 files changed

+115
-117
lines changed

comparisons/comparison-argo.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ spec:
7676
```yaml
7777
id: hello-world-parameters
7878
name: Hello World with parameters
79-
version: '1.0'
79+
version: '1.0.0'
8080
specVersion: '0.8'
8181
start: whalesay
8282
functions:
@@ -155,7 +155,7 @@ spec:
155155
```yaml
156156
id: hello-hello-hello
157157
name: Multi Step Hello
158-
version: '1.0'
158+
version: '1.0.0'
159159
specVersion: '0.8'
160160
start: hello1
161161
functions:
@@ -257,7 +257,7 @@ spec:
257257
```yaml
258258
id: dag-diamond-
259259
name: DAG Diamond Example
260-
version: '1.0'
260+
version: '1.0.0'
261261
specVersion: '0.8'
262262
start: A
263263
functions:
@@ -376,7 +376,7 @@ spec:
376376
```yaml
377377
id: scripts-bash-
378378
name: Scripts and Results Example
379-
version: '1.0'
379+
version: '1.0.0'
380380
specVersion: '0.8'
381381
start: generate
382382
functions:
@@ -472,7 +472,7 @@ spec:
472472
```yaml
473473
id: loops-
474474
name: Loop over data example
475-
version: '1.0'
475+
version: '1.0.0'
476476
specVersion: '0.8'
477477
start: injectdata
478478
functions:
@@ -567,7 +567,7 @@ spec:
567567
```yaml
568568
id: coinflip-
569569
name: Conditionals Example
570-
version: '1.0'
570+
version: '1.0.0'
571571
specVersion: '0.8'
572572
start: flip-coin
573573
functions:
@@ -660,7 +660,7 @@ spec:
660660
```yaml
661661
id: retry-backoff-
662662
name: Retry Example
663-
version: '1.0'
663+
version: '1.0.0'
664664
specVersion: '0.8'
665665
start: retry-backoff
666666
functions:
@@ -746,7 +746,7 @@ spec:
746746
```yaml
747747
id: coinflip-recursive-
748748
name: Recursion Example
749-
version: '1.0'
749+
version: '1.0.0'
750750
specVersion: '0.8'
751751
start: flip-coin-state
752752
functions:
@@ -856,7 +856,7 @@ spec:
856856
```yaml
857857
id: exit-handlers-
858858
name: Exit/Error Handling Example
859-
version: '1.0'
859+
version: '1.0.0'
860860
specVersion: '0.8'
861861
autoRetries: true
862862
start: intentional-fail-state

comparisons/comparison-bpmn.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For this reason, the event, function, retry, and data mapping defined in the ass
5151
```yaml
5252
id: processfile
5353
name: Process File Workflow
54-
version: '1.0'
54+
version: '1.0.0'
5555
specVersion: '0.8'
5656
start: Process File
5757
states:
@@ -87,7 +87,7 @@ functions:
8787
```yaml
8888
id: processapplication
8989
name: Process Application
90-
version: '1.0'
90+
version: '1.0.0'
9191
specVersion: '0.8'
9292
start: ProcessNewApplication
9393
states:
@@ -141,7 +141,7 @@ events:
141141
```yaml
142142
id: simplecompensation
143143
name: Simple Compensation
144-
version: '1.0'
144+
version: '1.0.0'
145145
specVersion: '0.8'
146146
start: Step 1
147147
states:
@@ -203,7 +203,7 @@ functions:
203203
---
204204
id: errorwithretries
205205
name: Error Handling With Retries Workflow
206-
version: '1.0'
206+
version: '1.0.0'
207207
specVersion: '0.8'
208208
start: Make Coffee
209209
states:
@@ -267,7 +267,7 @@ functions:
267267
```yaml
268268
id: executiontimeout
269269
name: Execution Timeout Workflow
270-
version: '1.0'
270+
version: '1.0.0'
271271
specVersion: '0.8'
272272
start: Purchase Parts
273273
timeouts:
@@ -321,7 +321,7 @@ functions:
321321
```yaml
322322
id: foreachWorkflow
323323
name: ForEach State Workflow
324-
version: '1.0'
324+
version: '1.0.0'
325325
specVersion: '0.8'
326326
start: ForEachItem
327327
states:
@@ -360,7 +360,7 @@ a starting "operation" state transitioning to an "event" state which waits for t
360360
```yaml
361361
id: subflowloop
362362
name: SubFlow Loop Workflow
363-
version: '1.0'
363+
version: '1.0.0'
364364
specVersion: '0.8'
365365
start: SubflowRepeat
366366
states:
@@ -410,7 +410,7 @@ control-flow logic to check email and make a decision to reply to it or wait an
410410
```yaml
411411
id: approvereport
412412
name: Approve Report Workflow
413-
version: '1.0'
413+
version: '1.0.0'
414414
specVersion: '0.8'
415415
start: Approve Report
416416
states:
@@ -473,7 +473,7 @@ functions:
473473
```yaml
474474
id: eventdecision
475475
name: Event Decision workflow
476-
version: '1.0'
476+
version: '1.0.0'
477477
specVersion: '0.8'
478478
start: A
479479
states:

comparisons/comparison-brigade.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function exec(e, p) {
6464
```yaml
6565
id: greeting
6666
name: Greeting Workflow
67-
version: '1.0'
67+
version: '1.0.0'
6868
specVersion: '0.8'
6969
start: GreetingState
7070
events:
@@ -144,7 +144,7 @@ async function exec(e, p) {
144144
```yaml
145145
id: greetingwitherrorcheck
146146
name: Greeting Workflow With Error Check
147-
version: '1.0'
147+
version: '1.0.0'
148148
specVersion: '0.8'
149149
autoRetries: true
150150
start: GreetingState
@@ -239,7 +239,7 @@ events.on("push", () => {
239239
```yaml
240240
id: multieventworkflow
241241
name: Multiple Events Workflow
242-
version: '1.0'
242+
version: '1.0.0'
243243
specVersion: '0.8'
244244
start: GreetingState
245245
events:
@@ -324,7 +324,7 @@ events.on("exec", () => {
324324
```yaml
325325
id: groupActionsWorkflow
326326
name: Group Actions Workflow
327-
version: '1.0'
327+
version: '1.0.0'
328328
specVersion: '0.8'
329329
start: FirstGreetGroup
330330
events:
@@ -403,7 +403,7 @@ events.on("exec", (e, p) => {
403403
```yaml
404404
id: eventDataWorkflow
405405
name: Event Data Workflow
406-
version: '1.0'
406+
version: '1.0.0'
407407
specVersion: '0.8'
408408
start: LogEventData
409409
events:
@@ -480,7 +480,7 @@ events.on("exec", (e, p) => {
480480
```yaml
481481
id: actionResultsWorkflow
482482
name: Action Results Workflow
483-
version: '1.0'
483+
version: '1.0.0'
484484
specVersion: '0.8'
485485
start: ExecActionsAndStoreResults
486486
events:
@@ -571,7 +571,7 @@ events.on("next", (e) => {
571571
```yaml
572572
id: eventDataWorkflow
573573
name: Event Data Workflow
574-
version: '1.0'
574+
version: '1.0.0'
575575
specVersion: '0.8'
576576
start: ExecEventState
577577
events:

comparisons/comparison-temporal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static class GreetingWorkflowImpl implements GreetingWorkflow {
8282
{
8383
"id": "greetingworkflow",
8484
"name": "Greeting Workflow",
85-
"version": "1.0",
85+
"version": "1.0.0"
8686
"specVersion": "0.8",
8787
"autoRetries": true,
8888
"states": [
@@ -164,7 +164,7 @@ WorkflowOptions workflowOptions =
164164
{
165165
"id": "greetingworkflow",
166166
"name": "Greeting Workflow",
167-
"version": "1.0",
167+
"version": "1.0.0"
168168
"specVersion": "0.8",
169169
"autoRetries": true,
170170
"timeouts": {
@@ -268,7 +268,7 @@ WorkflowOptions workflowOptions =
268268
{
269269
"id": "HelloSaga",
270270
"name": "Hello SAGA compensation Workflow",
271-
"version": "1.0",
271+
"version": "1.0.0"
272272
"specVersion": "0.8",
273273
"states": [
274274
{
@@ -392,7 +392,7 @@ static class GreetingActivitiesImpl implements GreetingActivities {
392392
{
393393
"id": "HelloActivityRetry",
394394
"name": "Hello Activity with Retries Workflow",
395-
"version": "1.0",
395+
"version": "1.0.0"
396396
"specVersion": "0.8",
397397
"autoRetries": true,
398398
"start": "GreetingState",

0 commit comments

Comments
 (0)