Skip to content

Commit

Permalink
Prepare @engflowapis-java for BCR (#13)
Browse files Browse the repository at this point in the history
This change updates the release script to also bump the version of
`@engflowapis-java` and `@engflowapis` in `//java:MODULE.bazel` so
released versions are in lock-step with each other.
  • Loading branch information
Yannic authored Jan 17, 2025
1 parent 34a96a5 commit 53b8a7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ jobs:
chmod +x "${RUNNER_TEMP}/buildozer"
# 2. Update `MODULE.bazel` and commit.
"${RUNNER_TEMP}/buildozer" "set version ${VERSION}" "//MODULE.bazel:engflowapis"
git add "MODULE.bazel"
"${RUNNER_TEMP}/buildozer" \
"set version ${VERSION}" \
"//MODULE.bazel:engflowapis" \
"//java/MODULE.bazel:engflowapis-java" \
"//java/MODULE.bazel:engflowapis"
git add \
"MODULE.bazel" \
"java/MODULE.bazel"
git commit -m "Release ${VERSION}"
# 3. Push release tag.
Expand Down
2 changes: 1 addition & 1 deletion java/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module(
name = "engflowapis_java",
name = "engflowapis-java",
version = "HEAD", # Automatically updated by release pipeline.
)

Expand Down

0 comments on commit 53b8a7f

Please sign in to comment.