Skip to content
Permalink
Browse files

Use shorter release tag prefix (#257)

  • Loading branch information...
parano committed Aug 7, 2019
1 parent 06e9fbf commit 540a38d3383bd1947f0dcbe92a63df29ba137ccd
Showing with 4 additions and 4 deletions.
  1. +1 −1 bentoml/_version.py
  2. +2 −2 scripts/release.sh
  3. +1 −1 setup.cfg
@@ -41,7 +41,7 @@ def get_config():
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = "bentoml-release-"
cfg.tag_prefix = "v"
cfg.parentdir_prefix = ""
cfg.versionfile_source = "bentoml/_version.py"
cfg.verbose = False
@@ -26,8 +26,8 @@ if [ -d $GIT_ROOT/dist ]; then
rm -rf $GIT_ROOT/dist
fi

tag_name="bentoml-release-v$VERSION_STR"
git tag -a $tag_name -m "Tag generated with BentoML/script/release.sh, version: $VERSION_STR"
tag_name="v$VERSION_STR"
git tag -a $tag_name -m "Tag generated by BentoML/script/release.sh, version: $VERSION_STR"

echo "Installing dev dependencies..."
pip install .[dev]
@@ -8,5 +8,5 @@ VCS = git
style = pep440
versionfile_source = bentoml/_version.py
versionfile_build = bentoml/_version.py
tag_prefix = bentoml-release-
tag_prefix = v
parentdir_prefix =

0 comments on commit 540a38d

Please sign in to comment.
You can’t perform that action at this time.