Merge pull request #7211 from dokku/6827-set-git-rev-on-sync

Always set the git rev env var when building an app via git:sync
This commit is contained in:
Jose Diaz-Gonzalez
2024-09-29 00:38:09 -04:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -181,6 +181,11 @@ teardown() {
assert_success
assert_output_contains "Application deployed"
run /bin/bash -c "dokku config:get $TEST_APP GIT_REV"
echo "output: $output"
echo "status: $status"
assert_output_exists
run /bin/bash -c "cat /home/dokku/$TEST_APP/refs/heads/master"
echo "output: $output"
echo "status: $status"