fix: fix old app version deploy wrt. compose files

See coop-cloud/organising#617
This commit is contained in:
2024-06-19 20:32:09 +02:00
parent 316fdd3643
commit 91ea2c01a5
3 changed files with 57 additions and 9 deletions

View File

@ -32,6 +32,7 @@ _reset_tags() {
_set_git_author() {
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" config --local user.email test@example.com
assert_success
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" config --local user.name test
assert_success
}
@ -43,3 +44,11 @@ _latest_tag() {
_latest_hash() {
export LATEST_HASH=$(git -C "$ABRA_DIR/recipes/$TEST_RECIPE" log -1 --pretty=format:%h)
}
_git_commit() {
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" add .
assert_success
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" commit -m "test: helpers/git.bash: _git_commit"
assert_success
}