Skip to content

Commit b8e49c5

Browse files
committed
Add .bumpversion
1 parent a5493f4 commit b8e49c5

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.bumpversion.cfg

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[bumpversion]
2+
current_version = v0.1.0
3+
commit = False
4+
tag = False
5+
search = version = {current_version}
6+
replace = version = {new_version}
7+
8+
[bumpversion:file:mcpgateway/__init__.py]
9+
search = __version__ = "{current_version}"
10+
replace = __version__ = "{new_version}"
11+
12+
[bumpversion:file:Containerfile]
13+
search = version="{current_version}"
14+
replace = version="{new_version}"
15+
16+
[bumpversion:file:Containerfile.lite]
17+
search = version="{current_version}"
18+
replace = version="{new_version}"
19+
20+
[bumpversion:file:pyproject.toml]
21+
search = version = "{current_version}"
22+
replace = version = "{new_version}"

Containerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM registry.access.redhat.com/ubi9-minimal:9.6-1747218906
22
LABEL maintainer="Mihai Criveti" \
33
name="mcp/mcpgateway" \
4+
version="0.1.0" \
45
description="MCP Gateway: An enterprise-ready Model Context Protocol Gateway"
56

67
ARG PYTHON_VERSION=3.11

Containerfile.lite

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ ARG ROOTFS_PATH
105105
LABEL maintainer="Mihai Criveti" \
106106
org.opencontainers.image.title="mcp/mcpgateway" \
107107
org.opencontainers.image.description="MCP Gateway: An enterprise-ready Model Context Protocol Gateway" \
108-
org.opencontainers.image.licenses="Apache-2.0"
108+
org.opencontainers.image.licenses="Apache-2.0" \
109+
org.opencontainers.image.version="0.1.0"
109110

110111
# ----------------------------------------------------------------------------
111112
# Copy the entire prepared root filesystem from the builder stage

mcpgateway/__init__.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# -*- coding: utf-8 -*-
2-
"""
2+
"""MCP Gateway - A flexible feature-rich FastAPI-based gateway for the Model Context Protocol (MCP).
33
44
Copyright 2025
55
SPDX-License-Identifier: Apache-2.0
66
Authors: Mihai Criveti
77
88
"""
9+
10+
__author__ = "Mihai Criveti"
11+
__copyright__ = "Copyright 2025"
12+
__license__ = "Apache 2.0"
13+
__version__ = "0.1.0"
14+
__description__ = "IBM Consulting Assistants - Extensions API Library"
15+
__url__ = "https://ibm.github.io/mcp-context-forge/"
16+
__download_url__ = "https://github.com/IBM/mcp-context-forge"
17+
__packages__ = ["mcpgateway"]

0 commit comments

Comments
 (0)