Compare commits

..

2 commits

Author SHA1 Message Date
64f1e8897a infra: add release task 2026-01-03 17:44:50 -06:00
ff8eb2566d bump: version 0.3.0 → 0.4.0 2026-01-03 17:42:15 -06:00
4 changed files with 54 additions and 5 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
dist/
docs/_build/ docs/_build/

View file

@ -4,3 +4,9 @@ All notable changes to WuttaPOS will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## v0.4.0 (2026-01-03)
First release under the new project.
The server app works, but does little. Same for the terminal app.

View file

@ -8,15 +8,11 @@ build-backend = "hatchling.build"
name = "WuttaPOS" name = "WuttaPOS"
# nb. 0.3.0 was the last release of the previous rattail WuttaPOS app. # nb. 0.3.0 was the last release of the previous rattail WuttaPOS app.
# pretty sure this will bump to 0.4.0 and then i can remove this note. # pretty sure this will bump to 0.4.0 and then i can remove this note.
version = "0.3.0" version = "0.4.0"
description = "Point of Sale system based on Wutta Framework" description = "Point of Sale system based on Wutta Framework"
readme = "README.md" readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}] authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
classifiers = [ classifiers = [
# TODO: remove this if you intend to publish your project
# (it's here by default, to prevent accidental publishing)
"Private :: Do Not Upload",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Environment :: Win32 (MS Windows)", "Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications", "Environment :: X11 Applications",

46
tasks.py Normal file
View file

@ -0,0 +1,46 @@
# -*- coding: utf-8; -*-
################################################################################
#
# WuttaPOS -- Point of Sale system based on Wutta Framework
# Copyright © 2026 Lance Edgar
#
# This file is part of WuttaPOS.
#
# WuttaPOS is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# WuttaPOS is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# WuttaPOS. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
"""
Tasks for WuttaPOS
"""
import os
import shutil
from invoke import task
@task
def release(c, skip_tests=False):
"""
Release a new version of WuttaPOS
"""
if not skip_tests:
# c.run("pytest")
pass
if os.path.exists("dist"):
shutil.rmtree("dist")
c.run("python -m build --sdist")
c.run("twine upload dist/*")