Skip to content

Commit

Permalink
Merge pull request #169 from pact-foundation/chore/update_pr_scripts
Browse files Browse the repository at this point in the history
chore: update pr scripts
  • Loading branch information
elliottmurray authored Aug 26, 2020
2 parents 468e4ad + 81fd653 commit e0e5106
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/create-pr-to-update-pact-ruby-standalone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ git add setup.py
git commit -m "${TYPE}: update standalone to ${STANDALONE_VERSION}"
git push --set-upstream origin ${BRANCH_NAME}

hub pull-request --browse --message "${TYPE}: update standalone to ${STANDALONE_VERSION}"

# hub pull-request --browse --message "${TYPE}: update standalone to ${STANDALONE_VERSION}"
gh pr create -w --title "${TYPE}: update standalone to ${STANDALONE_VERSION}"
git checkout master
4 changes: 4 additions & 0 deletions script/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ fi
TAG_NAME="v$VERSION"
LAST_TAG=`git describe --abbrev=0`


cat pact/__version__.py | sed "s/__version__ = .*/__version__ = '${VERSION}'/" > tmp-version
mv tmp-version pact/__version__.py

echo "Releasing $TAG_NAME"

echo -e "`git log --pretty=format:' * %h - %s (%an, %ad)' $LAST_TAG..HEAD`\n$(cat CHANGELOG.md)" > CHANGELOG.md
Expand Down

0 comments on commit e0e5106

Please sign in to comment.