Previously, running just "hack/release.sh" only ran the unit tests. This updates that to run the unit tests, then the integration tests, then build the binaries, then run the cli integration tests (so we're literally testing the binary we're about to release, which is super freaking cool IMO <3).
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
| ... | ... |
@@ -53,9 +53,13 @@ RELEASE_BUNDLES=( |
| 53 | 53 |
) |
| 54 | 54 |
|
| 55 | 55 |
if [ "$1" != '--release-regardless-of-test-failure' ]; then |
| 56 |
- RELEASE_BUNDLES=( test "${RELEASE_BUNDLES[@]}" )
|
|
| 56 |
+ RELEASE_BUNDLES=( |
|
| 57 |
+ test test-integration |
|
| 58 |
+ "${RELEASE_BUNDLES[@]}"
|
|
| 59 |
+ test-integration-cli |
|
| 60 |
+ ) |
|
| 57 | 61 |
fi |
| 58 |
- |
|
| 62 |
+ |
|
| 59 | 63 |
VERSION=$(cat VERSION) |
| 60 | 64 |
BUCKET=$AWS_S3_BUCKET |
| 61 | 65 |
|