Skip to content

Commit 48b876c

Browse files
authored
Merge pull request #1266 from jim-parry/admin/prep3
Adjusting the release build scripts
2 parents 74fea3f + 9a69f8c commit 48b876c

4 files changed

Lines changed: 16 additions & 9 deletions

File tree

admin/post_release

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,28 @@ Version |release|
6161
Release Date: Not Released
6262
' user_guide_src/source/changelog.rst
6363

64-
#---------------------------------------------------
65-
# Merge away
66-
echo -e "${BOLD}Setup the develop branch${NORMAL}"
6764
git add .
6865
git commit -S -m "Post ${branch} cleanup"
66+
67+
#---------------------------------------------------
68+
# Cleanup master
69+
echo -e "${BOLD}Cleanup the master branch${NORMAL}"
70+
git checkout master
71+
git merge ${branch}
6972
git push origin master
70-
git push UPSTREAM master
73+
#git push UPSTREAM master
7174

75+
#---------------------------------------------------
76+
# Cleanup develop
77+
echo -e "${BOLD}Cleanup the develop branch${NORMAL}"
7278
git checkout develop
7379
git merge ${branch}
7480
git push origin develop
75-
git push UPSTREAM develop
81+
#git push UPSTREAM develop
7682

7783
# keep or delete the release branch? up to you
78-
#git branch -d $branch
84+
# at this point, you should have uptodate develop and master,
85+
# as well as the release and post-release branches
7986

8087
#---------------------------------------------------
8188
# Phew!

admin/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ echo -e "${BOLD}Generate the user guide${NORMAL}"
8383
cd user_guide_src
8484

8585
# make the UG & embed it in the project root
86+
rm -rf build/*
8687
make html
8788
rm -Rf ../docs
8889
mv build/html ../docs
@@ -113,7 +114,6 @@ done
113114
git add .
114115
git commit -m "Release ${version}${qualifier}"
115116

116-
117117
#---------------------------------------------------
118118
# Done for now
119119
echo -e "${BOLD}Your $branch branch is ready to inspect.${NORMAL}"

admin/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ Complete the next few steps of the release manually:
9191
Once the release branch has been vetted, and you have
9292
completed the manual steps, clean up with:
9393

94-
`admin/post_release`
94+
`admin/post_release version [qualifier]`

user_guide_src/source/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Change Log
33
##########
44

55
Version |release|
6-
=================
6+
=================================
77

88
Release Date: Not Released
99

0 commit comments

Comments
 (0)