Skip to content

Commit

Permalink
Add MODULE.bazel and WORKSPACE.bzlmod to release archive (#174)
Browse files Browse the repository at this point in the history
These files are needed for consumers of this repository to import it in their MODULE.bazel
  • Loading branch information
mortenmj authored Sep 30, 2023
1 parent 9f23bd3 commit fb8c10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mkdir -p "$OUT_DIR/snapshots"
cp "$BUILD_WORKSPACE_DIRECTORY/snapshots/repositories.bzl" "$OUT_DIR/snapshots/repositories.bzl"

# create an archive with the relevant files
tar -cf "$OUT_DIR/snapshots-$VERSION.tar" -C "$BUILD_WORKSPACE_DIRECTORY" docker snapshots snapshots/dependencies.bzl BUILD.bazel WORKSPACE README.md LICENSE
tar -cf "$OUT_DIR/snapshots-$VERSION.tar" -C "$BUILD_WORKSPACE_DIRECTORY" docker snapshots snapshots/dependencies.bzl BUILD.bazel MODULE.bazel WORKSPACE WORKSPACE.bzlmod README.md LICENSE

for t in "${TARGETS[@]}";
do
Expand Down

0 comments on commit fb8c10b

Please sign in to comment.