From a9df12c21c1653c53439ffb5956b56dec95d992b Mon Sep 17 00:00:00 2001 From: KC Berg Date: Wed, 9 Jul 2025 11:07:58 -0600 Subject: [PATCH 1/3] =?UTF-8?q?bump:=20version=200.1.8=20=E2=86=92=201.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 95e3619..e57071e 100644 --- a/.bumpver.toml +++ b/.bumpver.toml @@ -1,5 +1,5 @@ [bumpver] -current_version = "0.1.8" +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 4233eba..593a121 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # StackHawk MCP Server -**Current Version: 0.1.8** +**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 8c77127..a90c9d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stackhawk-mcp" -version = "0.1.8" +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 5c5df40..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": "0.1.8", + "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 621c8f3..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__ = "0.1.8" +__version__ = "1.0.0" __author__ = "StackHawk MCP Team" __email__ = "support@stackhawk.com" \ No newline at end of file From e22b9e392528c83af94dc05f753b53a94a75c1c4 Mon Sep 17 00:00:00 2001 From: KC Berg Date: Wed, 9 Jul 2025 11:18:43 -0600 Subject: [PATCH 2/3] prepare-release: add bump_type input (minor/major) and use for bumpver flag --- .github/workflows/prepare-release.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index ef60e1b..7bf5164 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -2,6 +2,15 @@ name: Prepare Release on: workflow_dispatch: + inputs: + bump_type: + description: 'Type of version bump' + required: true + default: 'minor' + type: choice + options: + - minor + - major permissions: contents: write @@ -21,8 +30,8 @@ jobs: echo "should_run=true" >> $GITHUB_OUTPUT fi - bump-minor-version: - name: Bump Minor Version + bump-version: + name: Bump Version if: needs.check-bumpver.outputs.should_run == 'true' needs: check-bumpver runs-on: ubuntu-latest @@ -54,8 +63,13 @@ jobs: run: | git config user.name "HawkyMcBuilderFace[bot]" git config user.email "hawkymcbuilderface[bot]@users.noreply.github.com" - - name: Bump minor version with bumpver - run: bumpver update --minor --commit + - name: Bump version with bumpver + run: | + if [[ "${{ github.event.inputs.bump_type }}" == "major" ]]; then + bumpver update --major --commit + else + bumpver update --minor --commit + fi - name: Push version bump commit run: | git push origin HEAD:main \ No newline at end of file From 8168ef5f9355f62d5b3af6488d967ad0cd141ced Mon Sep 17 00:00:00 2001 From: KC Berg Date: Wed, 9 Jul 2025 11:29:25 -0600 Subject: [PATCH 3/3] ci,prepare-release: use HAWKY_APP_USER and HAWKY_APP_USER_EMAIL secrets for git user/email --- .github/workflows/ci.yml | 4 ++-- .github/workflows/prepare-release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ab6c39..3422b95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,8 +102,8 @@ jobs: pip install . - name: Set git user for HawkyMcBuilderFace bot run: | - git config user.name "HawkyMcBuilderFace[bot]" - git config user.email "hawkymcbuilderface[bot]@users.noreply.github.com" + 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 version bump commit diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 7bf5164..4abe556 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -61,8 +61,8 @@ jobs: 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 "HawkyMcBuilderFace[bot]" - git config user.email "hawkymcbuilderface[bot]@users.noreply.github.com" + git config user.name "${{ secrets.HAWKY_APP_USER }}" + git config user.email "${{ secrets.HAWKY_APP_USER_EMAIL }}" - name: Bump version with bumpver run: | if [[ "${{ github.event.inputs.bump_type }}" == "major" ]]; then