From 85af3920984a9406ff3ee91c7e85256add16c68d Mon Sep 17 00:00:00 2001 From: KC Berg Date: Fri, 11 Jul 2025 13:32:55 -0600 Subject: [PATCH 1/3] chore: set project version to 1.0.0 for release process testing --- .bumpver.toml | 2 +- README.md | 2 +- pyproject.toml | 2 +- stackhawk-mcp.dxt | 2 +- stackhawk_mcp/__init__.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpver.toml b/.bumpver.toml index 3e7f4d2..e57071e 100644 --- a/.bumpver.toml +++ b/.bumpver.toml @@ -1,5 +1,5 @@ [bumpver] -current_version = "1.0.1" +current_version = "1.0.0" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump: version {old_version} → {new_version}" tag_message = "v{new_version}" diff --git a/README.md b/README.md index 992d2a4..4986c15 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # StackHawk MCP Server -**Current Version: 1.0.1** +**Current Version: 1.0.0** _Requires Python 3.10 or higher_ A Model Context Protocol (MCP) server for integrating with StackHawk's security scanning platform. Provides security analytics, YAML configuration management, sensitive data/threat surface analysis, and anti-hallucination tools for LLMs. diff --git a/pyproject.toml b/pyproject.toml index 78d09a9..a90c9d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stackhawk-mcp" -version = "1.0.1" +version = "1.0.0" description = "StackHawk MCP Server for Security Analytics and Developer Integration" authors = [{name = "StackHawk, Inc.", email = "support@stackhawk.com"}] license = "Apache-2.0" diff --git a/stackhawk-mcp.dxt b/stackhawk-mcp.dxt index f100aff..e0cf4ff 100644 --- a/stackhawk-mcp.dxt +++ b/stackhawk-mcp.dxt @@ -1,7 +1,7 @@ { "name": "stackhawk-mcp", "description": "StackHawk MCP Server for security testing, analytics, YAML validation, and vulnerability management.", - "version": "1.0.1", + "version": "1.0.0", "author": "StackHawk", "license": "MIT", "homepage": "https://github.com/stackhawk/stackhawk-mcp", diff --git a/stackhawk_mcp/__init__.py b/stackhawk_mcp/__init__.py index a1d0115..4a40b77 100644 --- a/stackhawk_mcp/__init__.py +++ b/stackhawk_mcp/__init__.py @@ -5,6 +5,6 @@ with the StackHawk API through the Model Context Protocol (MCP). """ -__version__ = "1.0.1" +__version__ = "1.0.0" __author__ = "StackHawk MCP Team" __email__ = "support@stackhawk.com" \ No newline at end of file From b800f1beb1eaced8c042b08dadd10a4fba720376 Mon Sep 17 00:00:00 2001 From: KC Berg Date: Fri, 11 Jul 2025 13:49:08 -0600 Subject: [PATCH 2/3] chore: add patch version bump after tagging in prepare-release workflow --- .github/workflows/prepare-release.yml | 40 ++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 5560f43..75216e6 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -102,4 +102,42 @@ jobs: git remote -v git tag v${{ steps.get_version.outputs.version }} git fetch origin --tags --verbose - git push origin v${{ steps.get_version.outputs.version }} \ No newline at end of file + git push origin v${{ steps.get_version.outputs.version }} + + bump-patch-version: + name: Bump Patch Version + if: needs.check-bumpver.outputs.should_run == 'true' + needs: [check-bumpver, bump-version, tag-version] + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + persist-credentials: 'false' + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install . + - name: Generate GitHub App token + id: generate_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.HAWKY_APP_ID }} + private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }} + - name: Set up git for pushing + run: | + git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git + - name: Set git user for HawkyMcBuilderFace bot + run: | + git config user.name "${{ secrets.HAWKY_APP_USER }}" + git config user.email "${{ secrets.HAWKY_APP_USER_EMAIL }}" + - name: Bump patch version with bumpver + run: bumpver update --patch --commit + - name: Push patch version bump commit + run: | + git push \ No newline at end of file From c0f441e4de5ba1cfb3af8ed7906f6f3e768a716b Mon Sep 17 00:00:00 2001 From: KC Berg Date: Fri, 11 Jul 2025 13:56:38 -0600 Subject: [PATCH 3/3] chore: bump version to 1.0.1 everywhere --- .bumpver.toml | 2 +- README.md | 2 +- pyproject.toml | 2 +- stackhawk-mcp.dxt | 2 +- stackhawk_mcp/__init__.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpver.toml b/.bumpver.toml index e57071e..3e7f4d2 100644 --- a/.bumpver.toml +++ b/.bumpver.toml @@ -1,5 +1,5 @@ [bumpver] -current_version = "1.0.0" +current_version = "1.0.1" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump: version {old_version} → {new_version}" tag_message = "v{new_version}" diff --git a/README.md b/README.md index 4986c15..992d2a4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # StackHawk MCP Server -**Current Version: 1.0.0** +**Current Version: 1.0.1** _Requires Python 3.10 or higher_ A Model Context Protocol (MCP) server for integrating with StackHawk's security scanning platform. Provides security analytics, YAML configuration management, sensitive data/threat surface analysis, and anti-hallucination tools for LLMs. diff --git a/pyproject.toml b/pyproject.toml index a90c9d8..78d09a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stackhawk-mcp" -version = "1.0.0" +version = "1.0.1" description = "StackHawk MCP Server for Security Analytics and Developer Integration" authors = [{name = "StackHawk, Inc.", email = "support@stackhawk.com"}] license = "Apache-2.0" diff --git a/stackhawk-mcp.dxt b/stackhawk-mcp.dxt index e0cf4ff..f100aff 100644 --- a/stackhawk-mcp.dxt +++ b/stackhawk-mcp.dxt @@ -1,7 +1,7 @@ { "name": "stackhawk-mcp", "description": "StackHawk MCP Server for security testing, analytics, YAML validation, and vulnerability management.", - "version": "1.0.0", + "version": "1.0.1", "author": "StackHawk", "license": "MIT", "homepage": "https://github.com/stackhawk/stackhawk-mcp", diff --git a/stackhawk_mcp/__init__.py b/stackhawk_mcp/__init__.py index 4a40b77..a1d0115 100644 --- a/stackhawk_mcp/__init__.py +++ b/stackhawk_mcp/__init__.py @@ -5,6 +5,6 @@ with the StackHawk API through the Model Context Protocol (MCP). """ -__version__ = "1.0.0" +__version__ = "1.0.1" __author__ = "StackHawk MCP Team" __email__ = "support@stackhawk.com" \ No newline at end of file