-
Notifications
You must be signed in to change notification settings - Fork 0
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 #51 from maykinmedia/feature/prepare-release-template
📝 [maykinmedia/open-api-framework#107] Add prepare release template
- Loading branch information
Showing
6 changed files
with
79 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Script to bump the version. Arguments are forwarded to bump-my-version. | ||
# | ||
# Usage: | ||
# | ||
# ./bin/bumpversion.sh bump minor|patch|pre|build | ||
# | ||
|
||
set -eu -o pipefail | ||
|
||
toplevel=$(git rev-parse --show-toplevel) | ||
cd $toplevel | ||
|
||
# Ensure a virtualenv is active. | ||
if [ -z $VIRTUAL_ENV ]; then | ||
echo "VIRTUAL_ENV envvar is not set, you must activate your virtualenv before running this script." | ||
exit 1 | ||
fi | ||
|
||
# Forward all arguments to bump-my-version binary | ||
bump-my-version "$@" | ||
|
||
# Run npm install to update the package-lock.json version number | ||
npm i |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
# Helpers | ||
pip-tools | ||
bump2version | ||
bump-my-version | ||
gitpython | ||
|
||
# Debug tooling | ||
|
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