version: 0.2
#this image assumes base Codebuild Ubuntu image
#this build run simply verifies we haven't published something at this tag yet.
#if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run.
phases:
  install:
    commands:
  pre_build:
    commands:
  build:
    commands:
      - echo Build started on `date`
      - cd aws-crt-python
      - bash ./continuous-delivery/test-version-exists
  post_build:
    commands:
      - echo Build completed on `date`

