From 0f53885afaa3f3b698a08bbdfe555aea69ab4d8b Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Sun, 22 Sep 2024 18:52:39 -0700 Subject: [PATCH] 0.11.0-pre --- CHANGELOG.md | 2 ++ corrscope/version.py | 2 +- edit-version.sh | 13 +++++++++++++ pyproject.toml | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100755 edit-version.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index e08577f..7708a34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.11.0 (unreleased) + ## 0.10.1 ### Changelog diff --git a/corrscope/version.py b/corrscope/version.py index 1b8a71e..d8d01ee 100644 --- a/corrscope/version.py +++ b/corrscope/version.py @@ -9,7 +9,7 @@ _package = Path(__file__).parent # Version prefix -base_version = "0.10.1" +base_version = "0.11.0-pre" is_dev = "-" in base_version diff --git a/edit-version.sh b/edit-version.sh new file mode 100755 index 0000000..1e6f11c --- /dev/null +++ b/edit-version.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ -z "$1" ]; then + echo "Must supply a version to set" + exit 1 +fi + +sed -i "s/^version = .*/version = \"$1\"/" pyproject.toml || exit $? +sed -i "s/^base_version = .*/base_version = \"$1\"/" corrscope/version.py || exit $? + +# https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-the-key-to-gradual-automation/ +echo "Update CHANGELOG.md?" +read -rp "- Press Enter to continue: " diff --git a/pyproject.toml b/pyproject.toml index 57f3aeb..dd4c87e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "corrscope" -version = "0.10.1" +version = "0.11.0-pre" description = "Python program to render wave files into oscilloscope views, featuring advanced correlation-based triggering algorithm" license = "BSD-2-Clause" authors = ["nyanpasu64 "]