Skip to content

Commit

Permalink
Make it easier to create versions using bump2version
Browse files Browse the repository at this point in the history
  • Loading branch information
martyzz1 committed Jun 26, 2024
1 parent f10f38c commit 608cc6f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

SCOPE="$1"

if [ -z "$SCOPE" ]; then
SCOPE="patch"
fi

echo "Using scope $SCOPE"

bump2version "$SCOPE"
git push origin --follow-tags
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[bumpversion]
current_version = 0.1.3
commit = True
tag = True
message = :bookmark: [ci skip] Bump version: {current_version} → {new_version}

0 comments on commit 608cc6f

Please sign in to comment.