File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -466,10 +466,6 @@ cat_github_output() {
466466}
467467
468468@test " It pushes generated commit and tag to remote branch and updates commit sha" {
469- # Create "a-new-branch"-branch and then immediately switch back to ${FAKE_DEFAULT_BRANCH}
470- git checkout -b a-new-branch
471- git checkout ${FAKE_DEFAULT_BRANCH}
472-
473469 INPUT_BRANCH=" a-new-branch"
474470 INPUT_TAGGING_MESSAGE=" v2.0.0"
475471
@@ -492,7 +488,7 @@ cat_github_output() {
492488 assert_output --partial refs/tags/v2.0.0
493489
494490 # Assert that branch "a-new-branch" was updated on remote
495- current_sha=" $( git rev-parse --verify --short a-new-branch ) "
491+ current_sha=" $( git rev-parse --verify --short ${FAKE_DEFAULT_BRANCH} ) "
496492 remote_sha=" $( git rev-parse --verify --short origin/a-new-branch) "
497493
498494 assert_equal $current_sha $remote_sha
You can’t perform that action at this time.
0 commit comments