Skip to content

Commit

Permalink
chore: revert fancy release automation (#517)
Browse files Browse the repository at this point in the history
It doesn't work properly with Publish To BCR app parsing of the module file.
  • Loading branch information
alexeagle authored Sep 6, 2023
1 parent cd4293c commit 2c11bf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ set -o errexit -o nounset -o pipefail
# Configuration for 'git archive'
# see https://git-scm.com/docs/git-archive/2.40.0#ATTRIBUTES
cat >.git/info/attributes <<EOF
# Substitution for the VERSION placeholder at the top of this file
MODULE.bazel export-subst
# Omit folders that users don't need, making the distribution artifact smaller
lib/tests export-ignore
EOF
Expand Down
5 changes: 1 addition & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
"aspect-build/bazel-lib"

# replaced by export-subst during 'git archive'
VERSION = "$Format:%(describe:tags=true)$"

module(
name = "aspect_bazel_lib",
version = VERSION.replace("v", "", 1) if not VERSION.startswith("$Format") else "0.0.0",
version = "0.0.0",
compatibility_level = 1,
)

Expand Down

0 comments on commit 2c11bf1

Please sign in to comment.