Skip to content

Commit

Permalink
Remove MODULE.bazel version bump from release process (#231)
Browse files Browse the repository at this point in the history
It turns out it really doesn't matter what this version is in the repo,
so we can simplify our release process a bit by not needing to generate
this file, or merge a PR updating it
  • Loading branch information
keith authored Jul 14, 2023
1 parent 68b6edf commit fb39701
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
20 changes: 0 additions & 20 deletions .github/update-module-version.sh

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ jobs:
run: |
set -euo pipefail
git config user.name "Automatic version bump"
git config user.email "noreply@github.com"
./.github/update-module-version.sh "$TAG"
tmp_branch="$(uuidgen)"
git checkout -b "$tmp_branch"
git add MODULE.bazel
msg="Update MODULE.bazel to $TAG"
git commit -m "$msg"
git push -u origin "$tmp_branch"
gh pr create --title "$msg" --body ""
COPYFILE_DISABLE=1 tar czvf "apple_support.$TAG.tar.gz" ./*
./.github/generate-notes.sh "$TAG" | tee notes.md
gh release create "$TAG" --title "$TAG" --target "$GITHUB_REF_NAME" --notes-file notes.md "apple_support.$TAG.tar.gz"
Expand Down
5 changes: 1 addition & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Generated by update-module-version.sh. DO NOT EDIT.
module(
name = "apple_support",
version = "1.7.1",
version = "0",
bazel_compatibility = [">=6.0.0"],
compatibility_level = 1,
repo_name = "build_bazel_apple_support",
)

# --- End generated content

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.4")

Expand Down

0 comments on commit fb39701

Please sign in to comment.