From cdf5ed866c32f5e849eb5efed98f124055b1a28e Mon Sep 17 00:00:00 2001 From: chiefmikey Date: Mon, 22 Aug 2022 07:26:56 -0600 Subject: [PATCH 1/2] Add log tests --- beta/beta-branch.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 603fbf29..0336ca18 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -30,18 +30,18 @@ jobs: git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" echo test first: $(git status) - echo test first: $(git hist) + echo test first: $(git log) git checkout main echo test main: $(git status) - echo test main: $(git hist) + echo test main: $(git log) git checkout -b beta-branch echo test beta-branch: $(git status) - echo test beta-branch: $(git hist) + echo test beta-branch: $(git log) git reset --soft ${BRANCH} echo test reset: $(git status) - echo test reset: $(git hist) + echo test reset: $(git log) git add . git commit -am 'Beta branch' echo test commit: $(git status) - echo test commit: $(git hist) + echo test commit: $(git log) gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch From b85258593bd4872a5238a7409c0e6bcfe9c59466 Mon Sep 17 00:00:00 2001 From: chiefmikey Date: Mon, 22 Aug 2022 07:31:25 -0600 Subject: [PATCH 2/2] Add author test --- beta/beta-branch.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 0336ca18..abd5ba1e 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -30,18 +30,23 @@ jobs: git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" echo test first: $(git status) - echo test first: $(git log) + TEST=$(git log) + echo test first: ${TEST##*Author} git checkout main echo test main: $(git status) - echo test main: $(git log) + TEST=$(git log) + echo test main: ${TEST##*Author} git checkout -b beta-branch echo test beta-branch: $(git status) - echo test beta-branch: $(git log) + TEST=$(git log) + echo test beta-branch: ${TEST##*Author} git reset --soft ${BRANCH} echo test reset: $(git status) - echo test reset: $(git log) + TEST=$(git log) + echo test reset: ${TEST##*Author} git add . git commit -am 'Beta branch' echo test commit: $(git status) - echo test commit: $(git log) + TEST=$(git log) + echo test commit: ${TEST##*Author} gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch