From 9f6081f2a4830a25dbb9ef46e066154cf879396a Mon Sep 17 00:00:00 2001 From: l-1sqared <30831153+l-1squared@users.noreply.github.com> Date: Fri, 8 Sep 2023 07:38:12 +0200 Subject: [PATCH] Issue-802: Release script return to previous branch This should simplify a release from a release branch in case a we need to select commits Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com> --- scripts/publishAsciidoc.sh | 2 +- scripts/publishJGivenReports.sh | 2 +- scripts/publishJGivenSnapshotReports.sh | 2 +- scripts/publishJavadoc.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/publishAsciidoc.sh b/scripts/publishAsciidoc.sh index fe0b940cbf..58ca99db2d 100755 --- a/scripts/publishAsciidoc.sh +++ b/scripts/publishAsciidoc.sh @@ -9,4 +9,4 @@ cp -r build/docs/asciidoc/* userguide git add userguide git commit -m 'added userguide to gh-pages' git push -git checkout -f master +git checkout -f - diff --git a/scripts/publishJGivenReports.sh b/scripts/publishJGivenReports.sh index ed6cef23c6..bd33bafe10 100755 --- a/scripts/publishJGivenReports.sh +++ b/scripts/publishJGivenReports.sh @@ -9,4 +9,4 @@ cp -r jgiven-tests/build/reports/jgiven/html5/ jgiven-report/ git add jgiven-report/ git commit -m 'added generated jgiven report to gh-pages' git push -git checkout -f master +git checkout -f - diff --git a/scripts/publishJGivenSnapshotReports.sh b/scripts/publishJGivenSnapshotReports.sh index dc64b451cb..d7d16985b5 100755 --- a/scripts/publishJGivenSnapshotReports.sh +++ b/scripts/publishJGivenSnapshotReports.sh @@ -10,4 +10,4 @@ cp -r jgiven-tests/build/reports/jgiven/html5/ ${TARGET_DIR} git add ${TARGET_DIR} git commit -m 'added generated snapshot jgiven report to gh-pages' git push -git checkout -f master +git checkout -f - diff --git a/scripts/publishJavadoc.sh b/scripts/publishJavadoc.sh index b2fca37ec2..832825318a 100755 --- a/scripts/publishJavadoc.sh +++ b/scripts/publishJavadoc.sh @@ -9,4 +9,4 @@ cp -r jgiven-core/build/docs/javadoc/* javadoc git add javadoc git commit -m 'added javadoc to gh-pages' git push -git checkout -f master +git checkout -f -