Skip to content

Commit

Permalink
master: bin/new_release.sh 20230000.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Jan 2, 2023
1 parent 0b7a77e commit 8a0e897
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions bin/new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,37 +79,6 @@ else
fi
fi
# =============================================================================
# gh-pages
# =============================================================================
cat << EOF > new_release.$$
/^commit/! b end
N
N
N
N
/version $stable_version/! b end
s|\\nAuthor:.*||
s|commit *||
p
: end
EOF
# use gh-pages if they exist for this version
doc_hash=`git log origin/gh-pages | sed -n -f new_release.$$ | head -1`
if [ "$doc_hash" == '' ]
then
cat << EOF
Cannot find commit message for $stable_version in output of
git log origin/gh-pages. Use the following comands to fix this ?
gh_pages.sh
git commit -m 'update gh-pages to stable version $stable_version'
git push
git checkout master
EOF
rm new_release.$$
exit 1
fi
rm new_release.$$
# =============================================================================
# stable branch
# =============================================================================
stable_branch=stable/$stable_version
Expand Down Expand Up @@ -227,16 +196,6 @@ echo_eval git tag -a -m \"created by bin/new_release.sh\" \
$stable_version.$release $stable_remote_hash
#
echo_eval git push origin $stable_version.$release
#
# tag the documentation
#
if [ "$release" == '0' ]
then
echo_eval git tag -a -m \"created by bin/new_release.sh\" \
$stable_version.doc $doc_hash
#
echo_eval git push origin $stable_version.doc
fi
# =============================================================================
# master branch
# =============================================================================
Expand Down

0 comments on commit 8a0e897

Please sign in to comment.