diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 3b559c3..26b86f8 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -9,7 +9,6 @@ TAG=$1 PREFIX="rules_terser-${TAG:1}" ARCHIVE="rules_terser-$TAG.tar.gz" git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip >$ARCHIVE -SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}') # Add generated API docs to the release, see https://github.com/bazelbuild/bazel-central-registry/issues/5593 docs="$(mktemp -d)" @@ -21,17 +20,8 @@ tar --create --auto-compress \ --file "$GITHUB_WORKSPACE/${ARCHIVE%.tar.gz}.docs.tar.gz" . cat <> ~/.bazelrc ``` -This means that any usage of `@rules_terser` on your system will point to this folder. +This means that any usage of `@aspect_rules_terser` on your system will point to this folder. ## Releasing diff --git a/README.md b/README.md index cd760e8..50ed4fe 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,11 @@ _Need help?_ This ruleset has support provided by https://aspect.build/services. From the release you wish to use: -copy the WORKSPACE snippet into your `WORKSPACE` file. +copy the `MODULE.bazel` snippet into your `MODULE.bazel` file. ## Usage See the [API documentation](docs/rules) and the example usage in the [`examples/`](https://github.com/aspect-build/rules_terser/tree/main/examples/) directory. -Note that the examples rely on code in the `/WORKSPACE` file in the root of this repo. ### From a BUILD file