| 1 | version: 0.2 |
| 2 | #this image assumes base Codebuild Ubuntu image |
| 3 | #this build run simply verifies we haven't published something at this tag yet. |
| 4 | #if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run. |
| 5 | phases: |
| 6 | install: |
| 7 | commands: |
| 8 | pre_build: |
| 9 | commands: |
| 10 | build: |
| 11 | commands: |
| 12 | - echo Build started on `date` |
| 13 | - cd aws-crt-python |
| 14 | - bash ./continuous-delivery/test-version-exists |
| 15 | post_build: |
| 16 | commands: |
| 17 | - echo Build completed on `date` |
| 18 |