Skip to content

Commit de2e97d

Browse files
authored
Revert release automation tagging (#94)
* Revert "fix: strip v prefix when copying tag into module version" This reverts commit c37dffd. * Revert "feat: stamp the version into the artifact (#93)" This reverts commit 7d0f586.
1 parent c37dffd commit de2e97d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

.github/workflows/release_prep.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
set -o errexit -o nounset -o pipefail
44

5-
# Configuration for 'git archive'
6-
# see https://git-scm.com/docs/git-archive/2.40.0#ATTRIBUTES
7-
cat >.git/info/attributes <<EOF
8-
# Substitution for the VERSION placeholder at the top of this file
9-
MODULE.bazel export-subst
10-
11-
# Omit folders that users don't need, making the distribution artifact smaller
12-
examples export-ignore
13-
EOF
14-
155
# Set by GH actions, see
166
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
177
TAG=${GITHUB_REF_NAME}

MODULE.bazel

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
"Bazel dependencies"
22

3-
# replaced by export-subst during 'git archive'
4-
VERSION = "$Format:%(describe:tags=true)$"
5-
63
module(
74
name = "com_myorg_rules_mylang",
8-
version = "0.0.0" if VERSION.startswith("$Format") else VERSION.replace("v", "", 1),
5+
version = "0.0.0",
96
compatibility_level = 1,
107
)
118

0 commit comments

Comments
 (0)