From 744bdc70b15988bb3d19d4cce7038f3d87897282 Mon Sep 17 00:00:00 2001 From: Katie Mulliken Date: Tue, 21 May 2024 15:34:01 -0400 Subject: [PATCH] chore(pyproject.toml): Bumps version to 0.5.22 --- pyproject.toml | 2 +- scripts/create_pre_release.sh | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 scripts/create_pre_release.sh diff --git a/pyproject.toml b/pyproject.toml index 47b684c..94b7300 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wyzeapy" -version = "0.5.21" +version = "0.5.22" description = "A library for interacting with Wyze devices" authors = ["Katie Mulliken "] license = "GPL-3.0-only" diff --git a/scripts/create_pre_release.sh b/scripts/create_pre_release.sh new file mode 100755 index 0000000..1132ee9 --- /dev/null +++ b/scripts/create_pre_release.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Bump the version in the package.json file +poetry version patch + +# Get the new version +version=$(poetry version -s) + +# Create a new branch +git checkout -b release/$version + +# Commit the change +git add . +git commit -m "chore(pyproject.toml): Bumps version to $version" + +# Push the branch +git push origin release/$version \ No newline at end of file