All checks were successful
continuous-integration/drone/push Build is passing
This implements coop-cloud/organising#540 by checking if a`release/next` file exists and if so moves it to `release/<tag>`. When no release notes exists it prompts for them. Reviewed-on: coop-cloud/abra#393 Reviewed-by: moritz <moritz.m@local-it.org> Co-authored-by: p4u1 <p4u1_f4u1@riseup.net> Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
21 lines
585 B
Bash
21 lines
585 B
Bash
#!/usr/bin/env bash
|
|
|
|
_common_setup() {
|
|
bats_load_library bats-support
|
|
bats_load_library bats-assert
|
|
bats_load_library bats-file
|
|
|
|
load "$PWD/tests/integration/helpers/file"
|
|
load "$PWD/tests/integration/helpers/app"
|
|
load "$PWD/tests/integration/helpers/git"
|
|
load "$PWD/tests/integration/helpers/recipe"
|
|
load "$PWD/tests/integration/helpers/server"
|
|
|
|
export ABRA="$PWD/abra"
|
|
export KADABRA="$PWD/kadabra"
|
|
|
|
export TEST_APP_NAME="$(basename "${BATS_TEST_FILENAME//./_}")"
|
|
export TEST_APP_DOMAIN="$TEST_APP_NAME.$TEST_SERVER"
|
|
export TEST_RECIPE="abra-test-recipe"
|
|
}
|