diff --git a/.bumpver.toml b/.bumpver.toml index afa97a4..e57071e 100644 --- a/.bumpver.toml +++ b/.bumpver.toml @@ -1,5 +1,5 @@ [bumpver] -current_version = "1.1.0" +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 3422b95..8f2ad31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: git remote -v git tag v${{ steps.get_version.outputs.version }} git fetch origin --tags --verbose - GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push origin v${{ steps.get_version.outputs.version }} + git push origin v${{ steps.get_version.outputs.version }} bump-version: if: needs.check-bumpver.outputs.should_run == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push' diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index a05a191..5560f43 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -71,4 +71,35 @@ jobs: fi - name: Push version bump commit run: | - git push \ No newline at end of file + git push + + tag-version: + name: Tag Version + if: needs.check-bumpver.outputs.should_run == 'true' + needs: [check-bumpver, bump-version] + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + persist-credentials: 'false' + - 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: Get version from pyproject.toml + id: get_version + run: | + VERSION=$(grep '^version =' pyproject.toml | head -1 | cut -d '"' -f2) + echo "version=$VERSION" >> $GITHUB_OUTPUT + - name: Create and push tag for current version (with verbose logging) + run: | + 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 diff --git a/README.md b/README.md index 0b6986c..4986c15 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # StackHawk MCP Server -**Current Version: 1.1.0** +**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 021e69c..a90c9d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stackhawk-mcp" -version = "1.1.0" +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 aaa7af8..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.1.0", + "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 19157e1..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.1.0" +__version__ = "1.0.0" __author__ = "StackHawk MCP Team" __email__ = "support@stackhawk.com" \ No newline at end of file