chore: revert fancy release automation (#517)

It doesn't work properly with Publish To BCR app parsing of the module file.
This commit is contained in:
Alex Eagle 2023-09-06 16:18:53 -07:00 committed by GitHub
parent cd4293c140
commit 2c11bf1e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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,
)