Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
Stiller working on goreleaser
  • Loading branch information
ChrisPates committed May 31, 2022
1 parent 2a5503c commit f3ec709
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@ phases:
- rm -f ${OUTPUT} ${PACKAGED_TEMPLATE}

# Make go-build
- go build -o $(APP_NAME) main.go
- go build -o ${APP_NAME} main.go

# Make main
- goreleaser build --snapshot --rm-dist

# Package our application with AWS SAM
- sam package --output-template-file ${PACKAGED_TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET}
- aws cloudformation package --template-file ${TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET} --output-template-file ${PACKAGED_TEMPLATE}


artifacts:
files:
Expand Down

0 comments on commit f3ec709

Please sign in to comment.