diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa04e388..8506ab7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: with: # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload. # Note that glob pattern is not supported yet. - bin: datadog-static-analyzer-server,datadog-static-analyzer,datadog-export-rulesets + bin: datadog-static-analyzer # (optional) On which platform to distribute the `.tar.gz` file. # [default value: unix] # [possible values: all, unix, windows, none] @@ -69,6 +69,24 @@ jobs: # (required) GitHub token for uploading assets to GitHub Releases. token: ${{ secrets.GITHUB_TOKEN }} archive: 'datadog-static-analyzer-$target' + - name: Release datadog-static-analyzer-git-hook + uses: taiki-e/upload-rust-binary-action@v1 + with: + # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload. + # Note that glob pattern is not supported yet. + bin: datadog-static-analyzer-git-hook + # (optional) On which platform to distribute the `.tar.gz` file. + # [default value: unix] + # [possible values: all, unix, windows, none] + tar: none + # (optional) On which platform to distribute the `.zip` file. + # [default value: windows] + # [possible values: all, unix, windows, none] + zip: all + target: ${{ matrix.target }} + # (required) GitHub token for uploading assets to GitHub Releases. + token: ${{ secrets.GITHUB_TOKEN }} + archive: 'datadog-static-analyzer-git-hook-$target' - name: Release the server uses: taiki-e/upload-rust-binary-action@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 8c9f1292..fae319ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ default-members = [ resolver = "2" [workspace.package] -version = "0.3.9" +version = "0.4.0" [profile.release] lto = true diff --git a/versions.json b/versions.json index 6e384fc6..8953978b 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,33 @@ { "0": { + "0.4.0": { + "cli": { + "windows": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-x86_64-pc-windows-msvc.zip" + }, + "linux": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-x86_64-unknown-linux-gnu.zip", + "aarch64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-aarch64-unknown-linux-gnu.zip" + }, + "macos": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-x86_64-apple-darwin.zip", + "aarch64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-aarch64-apple-darwin.zip" + } + }, + "server": { + "windows": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-server-x86_64-pc-windows-msvc.zip" + }, + "linux": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-server-x86_64-unknown-linux-gnu.zip", + "aarch64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-server-aarch64-unknown-linux-gnu.zip" + }, + "macos": { + "x86_64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-server-x86_64-apple-darwin.zip", + "aarch64": "https://github.com/DataDog/datadog-static-analyzer/releases/download/0.4.0/datadog-static-analyzer-server-aarch64-apple-darwin.zip" + } + } + }, "0.3.9": { "cli": { "windows": {