1*3c7ae9deSAndroid Build Coastguard Workerversion: 0.2 2*3c7ae9deSAndroid Build Coastguard Worker#this build spec assumes the aws-common-runtime/ubuntu-16.04 image 3*3c7ae9deSAndroid Build Coastguard Worker#this build run simply verifies we haven't published something at this tag yet. 4*3c7ae9deSAndroid Build Coastguard Worker#if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run. 5*3c7ae9deSAndroid Build Coastguard Workerphases: 6*3c7ae9deSAndroid Build Coastguard Worker install: 7*3c7ae9deSAndroid Build Coastguard Worker commands: 8*3c7ae9deSAndroid Build Coastguard Worker pre_build: 9*3c7ae9deSAndroid Build Coastguard Worker commands: 10*3c7ae9deSAndroid Build Coastguard Worker build: 11*3c7ae9deSAndroid Build Coastguard Worker commands: 12*3c7ae9deSAndroid Build Coastguard Worker - echo Build started on `date` 13*3c7ae9deSAndroid Build Coastguard Worker - cd aws-crt-java 14*3c7ae9deSAndroid Build Coastguard Worker - bash ./codebuild/cd/test-version-exists.sh 15*3c7ae9deSAndroid Build Coastguard Worker post_build: 16*3c7ae9deSAndroid Build Coastguard Worker commands: 17*3c7ae9deSAndroid Build Coastguard Worker - echo Build completed on `date` 18*3c7ae9deSAndroid Build Coastguard Worker 19