pull/487/head
nyanpasu64 2024-09-22 18:52:39 -07:00
rodzic c19dad152f
commit 0f53885afa
4 zmienionych plików z 17 dodań i 2 usunięć

Wyświetl plik

@ -1,3 +1,5 @@
## 0.11.0 (unreleased)
## 0.10.1 ## 0.10.1
### Changelog ### Changelog

Wyświetl plik

@ -9,7 +9,7 @@ _package = Path(__file__).parent
# Version prefix # Version prefix
base_version = "0.10.1" base_version = "0.11.0-pre"
is_dev = "-" in base_version is_dev = "-" in base_version

13
edit-version.sh 100755
Wyświetl plik

@ -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: "

Wyświetl plik

@ -8,7 +8,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "corrscope" 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" description = "Python program to render wave files into oscilloscope views, featuring advanced correlation-based triggering algorithm"
license = "BSD-2-Clause" license = "BSD-2-Clause"
authors = ["nyanpasu64 <nyanpasu64@tuta.io>"] authors = ["nyanpasu64 <nyanpasu64@tuta.io>"]