From ec49a2d432155b1a4e3be895ba629e023ff1aee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Wed, 8 Jul 2020 22:07:22 +0200 Subject: [PATCH] Add publish target --- Makefile | 3 +++ bin/freenit.sh | 2 +- freenit/project/common_config.py | 2 ++ setup.py | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 90f18a2..6188ce3 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,6 @@ SERVICE != echo ${app_name} REGGAE_PATH := /usr/local/share/reggae .include <${REGGAE_PATH}/mk/service.mk> + +publish: build_lib + @sudo cbsd jexec jname=${SERVICE} user=devel cmd=/usr/src/bin/publish.sh diff --git a/bin/freenit.sh b/bin/freenit.sh index 7924a9d..00062a9 100755 --- a/bin/freenit.sh +++ b/bin/freenit.sh @@ -4,7 +4,7 @@ set -e if [ "${1}" = "--version" ]; then - echo "0.1.10" + echo "0.1.11" exit 0 fi diff --git a/freenit/project/common_config.py b/freenit/project/common_config.py index b550ec5..8393afc 100644 --- a/freenit/project/common_config.py +++ b/freenit/project/common_config.py @@ -9,6 +9,8 @@ class Config: NAME = app_name + API_TITLE = app_name + API_VERSION = 0 PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) DEBUG = False SECURITY_PASSWORD_SALT = 'freenit' diff --git a/setup.py b/setup.py index b65921c..ffa1b05 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name='freenit', - version='0.1.10', + version='0.1.11', description='REST API framework based on Flask-Smorest', long_description=README, long_description_content_type='text/markdown',