diff --git a/.github/workflows/on.release.yml b/.github/workflows/on.release.yml index c0f28050..89fe700c 100644 --- a/.github/workflows/on.release.yml +++ b/.github/workflows/on.release.yml @@ -12,6 +12,7 @@ permissions: jobs: release: name: "Release: BCR" - uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v2 + uses: elide-dev/bazel-contrib/.github/workflows/release_ruleset.yaml@master with: release_files: rules_graalvm-*.zip + prerelease: false diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 5c8b39a4..33fc245f 100644 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -6,12 +6,16 @@ set -o errexit -o nounset -o pipefail # https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables TAG=${GITHUB_REF_NAME} # The prefix is chosen to match what GitHub generates for source archives -PREFIX="rules_mylang-${TAG:1}" -ARCHIVE="rules_mylang-$TAG.tar.gz" +PREFIX="rules_graalvm-${TAG:1}" +ARCHIVE="rules_graalvm-$TAG.tar.gz" git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}') cat << EOF +## GraalVM Rules for Bazel + +See the project repository for documentation. + ## Using Bzlmod with Bazel 6+ 1. Enable with \`common --enable_bzlmod\` in \`.bazelrc\`.