-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from elliottmurray/python2_deprecate
Python2 deprecate
- Loading branch information
Showing
8 changed files
with
34 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
VERSION=$1 | ||
|
||
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]*$ ]]; then | ||
echo "Updating version $VERSION." | ||
else | ||
echo "Invalid version number $VERSION" | ||
exit 1; | ||
fi | ||
|
||
TAG_NAME="v$VERSION" | ||
|
||
echo "Releasing $TAG_NAME" | ||
|
||
echo -e "`git log --pretty=format:' * %h - %s (%an, %ad)' $TAG_NAME..HEAD`\n$(cat CHANGELOG.md)" > CHANGELOG.md | ||
|
||
echo "Appended Changelog to $VERSION" | ||
|
||
git add CHANGELOG.md pact/__version__.py | ||
git commit -m "Releasing version $VERSION" | ||
|
||
git tag -a "$TAG_NAME" -m "Releasing version $VERSION" | ||
|
||
# && git push origin master --tags` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[tox] | ||
envlist=py{27,34,35,36,37,38}-{test,install} | ||
envlist=py{34,35,36,37,38}-{test,install} | ||
[testenv] | ||
deps= | ||
test: -rrequirements_dev.txt | ||
py27-test: subprocess32 | ||
commands= | ||
ommands= | ||
test: nosetests | ||
install: python -c "import pact" |