diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index b50249f..9f34194 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -38,4 +38,23 @@ jobs: uses: CycloneDX/gh-gomod-generate-sbom@v2 with: version: v1 - args: mod -licenses -json -output bom.json \ No newline at end of file + args: mod -licenses -json -output sbom.json + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + - name: upload SBOM + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./sbom.json + asset_name: sbom.json + asset_content_type: application/json \ No newline at end of file diff --git a/core/version b/core/version index d81f1c3..d156ab4 100644 --- a/core/version +++ b/core/version @@ -1 +1 @@ -0.2.9 \ No newline at end of file +0.2.10 \ No newline at end of file