feat: add kubepyrometer analyze command for actionable run breakdowns #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate tag matches VERSION | |
| run: | | |
| TAG="${GITHUB_REF#refs/tags/v}" | |
| FILE_VERSION="$(cat VERSION | tr -d '[:space:]')" | |
| if [ "$TAG" != "$FILE_VERSION" ]; then | |
| echo "ERROR: tag v$TAG does not match VERSION file ($FILE_VERSION)" | |
| exit 1 | |
| fi | |
| - name: Build release tarball | |
| run: make dist | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| generate_release_notes: true | |
| files: | | |
| kubepyrometer-*.tar.gz | |
| kubepyrometer-*.tar.gz.sha256 |