Skip to content

Commit e0e5106

Browse files
Merge pull request #169 from pact-foundation/chore/update_pr_scripts
chore: update pr scripts
2 parents 468e4ad + 81fd653 commit e0e5106

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

script/create-pr-to-update-pact-ruby-standalone.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ git add setup.py
2020
git commit -m "${TYPE}: update standalone to ${STANDALONE_VERSION}"
2121
git push --set-upstream origin ${BRANCH_NAME}
2222

23-
hub pull-request --browse --message "${TYPE}: update standalone to ${STANDALONE_VERSION}"
24-
23+
# hub pull-request --browse --message "${TYPE}: update standalone to ${STANDALONE_VERSION}"
24+
gh pr create -w --title "${TYPE}: update standalone to ${STANDALONE_VERSION}"
2525
git checkout master

script/release_prep.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ fi
1212
TAG_NAME="v$VERSION"
1313
LAST_TAG=`git describe --abbrev=0`
1414

15+
16+
cat pact/__version__.py | sed "s/__version__ = .*/__version__ = '${VERSION}'/" > tmp-version
17+
mv tmp-version pact/__version__.py
18+
1519
echo "Releasing $TAG_NAME"
1620

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

0 commit comments

Comments
 (0)