From 515be413bf17db1d37f7d3c0822e086e53f8a3f4 Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Thu, 18 Apr 2024 15:10:51 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20prep=20release=20=E2=86=92=20`0.11.2`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - chore: bump version for module - chore: update readme version info - chore: issue release tarballs, sign, upload to sigstore Signed-off-by: Sam Gammon --- .github/workflows/check.scorecards.yml | 1 + .github/workflows/release_prep.sh | 2 +- MODULE.bazel | 8 ++++---- README.md | 18 +++++++++--------- docs/index.md | 26 +++++++++++++------------- 5 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.github/workflows/check.scorecards.yml b/.github/workflows/check.scorecards.yml index 89c37388..f58339cd 100644 --- a/.github/workflows/check.scorecards.yml +++ b/.github/workflows/check.scorecards.yml @@ -33,6 +33,7 @@ jobs: results_file: results.sarif results_format: sarif publish_results: true + repo_token: ${{ secrets.SCORECARD_TOKEN }} - name: "Upload artifact" uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 9c6b6bf8..ff837609 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -7,7 +7,7 @@ set -o errexit -o nounset -o pipefail TAG=${GITHUB_REF_NAME} # The prefix is chosen to match what GitHub generates for source archives PREFIX="rules_graalvm-${TAG:1}" -ARCHIVE="rules_graalvm-$TAG.tar.gz" +ARCHIVE="rules_graalvm-$TAG.tgz" git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}') diff --git a/MODULE.bazel b/MODULE.bazel index 8df07317..e8816329 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -2,23 +2,23 @@ module( name = "rules_graalvm", - version = "0.11.1", + version = "0.11.2", ) ## JVM version to target. -JAVA_VERSION = "21" +JAVA_VERSION = "22" ## Node version used for local tooling. NODE_VERSION = "20.5.0" ## GraalVM distribution version. -GRAALVM_VERSION = "21.0.2" +GRAALVM_VERSION = "22.0.1" ## GraalVM distribution type; one of `oracle` or `ce`. GRAALVM_DIST = "ce" ## GraalVM SDK version. -GRAALVM_SDK_VERSION = "23.1.2" +GRAALVM_SDK_VERSION = "24.0.1" ## ## Dependencies: API diff --git a/README.md b/README.md index 16f67045..0e5c1819 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ --- -> Latest release: [`0.11.1`](https://registry.bazel.build/modules/rules_graalvm) +> Latest release: [`0.11.2`](https://registry.bazel.build/modules/rules_graalvm) Use [GraalVM](https://graalvm.org) with [Bazel](https://bazel.build) to: @@ -47,16 +47,16 @@ Use [GraalVM](https://graalvm.org) with [Bazel](https://bazel.build) to: | Artifact | SHA256 | | -------------------------- | ------------------------------------------------------------------ | -| `rules_graalvm-0.11.1.zip` | `e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73` | -| `rules_graalvm-0.11.1.tgz` | `0128b4a8664974689fadae56b517de627c5f42141925111baf05dc91c37af1c0` | +| `rules_graalvm-0.11.2.zip` | `d0d4a0ef9478ef953fc4a1250f108f8d30120c85179b82b1174b615a5abc8544` | +| `rules_graalvm-0.11.2.tgz` | `849ab41064ea1cad7917c4e972808e0432294c2d9d5177e6a708c818de2dec3b` | ```starlark http_archive( name = "rules_graalvm", - sha256 = "e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73", - strip_prefix = "rules_graalvm-0.11.1", + sha256 = "", + strip_prefix = "rules_graalvm-0.11.2", urls = [ - "https://github.com/sgammon/rules_graalvm/releases/download/v0.11.1/rules_graalvm-0.11.1.zip", + "https://github.com/sgammon/rules_graalvm/releases/download/v0.11.2/rules_graalvm-0.11.2.zip", ], ) ``` @@ -88,11 +88,11 @@ register_graalvm_toolchains() | Artifact | Integrity value | | -------------------------- | ----------------------------------------------------- | -| `rules_graalvm-0.11.1.zip` | `sha256-5PonWwYtzQOx7LArsl8B6tUSAjAGqHSl4MLLeLptjnM=` | -| `rules_graalvm-0.11.1.tgz` | `sha256-ASi0qGZJdGifra5WtRfeYnxfQhQZJREbrwXckcN68cA=` | +| `rules_graalvm-0.11.2.zip` | `sha256-0NSg75R475U/xKElDxCPjTASDIUXm4KxF0thWlq8hUQ=` | +| `rules_graalvm-0.11.2.tgz` | `sha256-hJq0EGTqHK15F8TpcoCOBDIpTC2dUXfmpwjIGN4t7Ds=` | ```starlark -bazel_dep(name = "rules_graalvm", version = "0.11.1") +bazel_dep(name = "rules_graalvm", version = "0.11.2") ``` ```starlark diff --git a/docs/index.md b/docs/index.md index e98090da..bcc03ff2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,7 +7,7 @@ --- -> Latest release: `0.11.1` +> Latest release: `0.11.2` > **Important** > Currently in beta. Feedback welcome but will probably break your build. @@ -34,18 +34,18 @@ Use [GraalVM](https://graalvm.org) from [Bazel](https://bazel.build), with suppo **Via `WORKSPACE.bazel`:** -| Artifact | SHA256 | -| ------- | ----------- | -| `rules_graalvm-0.11.1.zip` | `e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73` | -| `rules_graalvm-0.11.1.tgz` | `0128b4a8664974689fadae56b517de627c5f42141925111baf05dc91c37af1c0` | +| Artifact | SHA256 | +| -------------------------- | ------------------------------------------------------------------ | +| `rules_graalvm-0.11.2.zip` | `d0d4a0ef9478ef953fc4a1250f108f8d30120c85179b82b1174b615a5abc8544` | +| `rules_graalvm-0.11.2.tgz` | `849ab41064ea1cad7917c4e972808e0432294c2d9d5177e6a708c818de2dec3b` | ```python http_archive( name = "rules_graalvm", - sha256 = "e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73", - strip_prefix = "rules_graalvm-0.11.1", + sha256 = "", + strip_prefix = "rules_graalvm-0.11.2", urls = [ - "https://github.com/sgammon/rules_graalvm/releases/download/v0.11.1/rules_graalvm-0.11.1.zip", + "https://github.com/sgammon/rules_graalvm/releases/download/v0.11.2/rules_graalvm-0.11.2.zip", ], ) ``` @@ -73,13 +73,13 @@ graalvm_repository( **Or, via `MODULE.bazel`:** -| Artifact | Integrity value | -| ------- | --------------- | -| `rules_graalvm-0.11.1.zip` | `sha256-5PonWwYtzQOx7LArsl8B6tUSAjAGqHSl4MLLeLptjnM=` | -| `rules_graalvm-0.11.1.tgz` | `sha256-ASi0qGZJdGifra5WtRfeYnxfQhQZJREbrwXckcN68cA=` | +| Artifact | Integrity value | +| -------------------------- | ----------------------------------------------------- | +| `rules_graalvm-0.11.2.zip` | `sha256-0NSg75R475U/xKElDxCPjTASDIUXm4KxF0thWlq8hUQ=` | +| `rules_graalvm-0.11.2.tgz` | `sha256-hJq0EGTqHK15F8TpcoCOBDIpTC2dUXfmpwjIGN4t7Ds=` | ```python -bazel_dep(name = "rules_graalvm", version = "0.11.1") +bazel_dep(name = "rules_graalvm", version = "0.11.2") ``` ```python