diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 2c8f169f..f683ec55 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -29,27 +29,10 @@ jobs: BRANCH=${GITHUB_REF##*/} git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" - echo test first: $(git status) - TEST=$(git log) - echo test first: ${TEST%%Author*} git checkout main - echo test main: $(git status) - TEST=$(git log) - echo test main: ${TEST%%Author*} - git checkout -b beta-branch - echo test beta-branch: $(git status) - TEST=$(git log) - echo test beta-branch: ${TEST%%Author*} git reset --soft ${BRANCH} - echo test reset: $(git status) - TEST=$(git log) - echo test reset: ${TEST%%Author*} git add . git commit -am 'Beta branch' - echo test commit: $(git status) - TEST=$(git log) - echo test head: ${TEST%%Author*} - git checkout main - TEST=$(git log) - echo test base: ${TEST%%Author*} - gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch + git checkout -b beta-branch + git push -fu origin beta-branch + gh pr create --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch