Skip to content

Commit 154aec0

Browse files
author
Jovel Crisostomo
committed
add versioning
1 parent 54fb0fc commit 154aec0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

buildspec.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ version: 0.1
33
phases:
44
install:
55
commands:
6-
#- go get -u github.com/gorilla/mux
76
- go get -u github.com/golang/lint/golint
87
- go get -u github.com/tools/godep
98

@@ -15,13 +14,12 @@ phases:
1514

1615
build:
1716
commands:
18-
- echo $PWD
19-
- go build -v -o rt_api_prototype
17+
- go build -v -o build/rt_api_prototype-$CODEBUILD_SOURCE_VERSION
2018

2119
post_build:
2220
commands:
2321
- echo Build completed on `date`
2422

2523
artifacts:
2624
files:
27-
- rt_api_prototype
25+
- build/*

0 commit comments

Comments
 (0)