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/.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 ef60e1b..4abe556 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 @@ -52,10 +61,15 @@ 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" - - name: Bump minor version with bumpver - run: bumpver update --minor --commit + 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 + 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 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