Skip to content

Commit 78438d5

Browse files
bcorsoDagger Team
authored andcommitted
Update all "alpha" references to "beta" in preparation for the upcoming beta release.
RELNOTES=N/A PiperOrigin-RevId: 359575497
1 parent ceccfc6 commit 78438d5

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

build_defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ SOURCE_7_TARGET_7 = [
2828
POM_VERSION = "${project.version}"
2929

3030
# DO NOT remove the comment on the next line. It's used in deploy-to-maven-central.sh
31-
POM_VERSION_ALPHA = POM_VERSION #ALPHA_POSTFIX
31+
POM_VERSION_BETA = POM_VERSION #BETA_POSTFIX

java/dagger/hilt/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
load("//tools:maven.bzl", "gen_maven_artifact")
16-
load("//:build_defs.bzl", "POM_VERSION_ALPHA")
16+
load("//:build_defs.bzl", "POM_VERSION_BETA")
1717

1818
# Description:
1919
# A library that wraps the Dagger API to make DI usage and testing easier.
@@ -180,7 +180,7 @@ filegroup(
180180

181181
java_library(
182182
name = "artifact-core-lib",
183-
tags = ["maven_coordinates=com.google.dagger:hilt-core:" + POM_VERSION_ALPHA],
183+
tags = ["maven_coordinates=com.google.dagger:hilt-core:" + POM_VERSION_BETA],
184184
exports = [
185185
":define_component",
186186
":entry_point",
@@ -196,7 +196,7 @@ java_library(
196196

197197
gen_maven_artifact(
198198
name = "artifact-core",
199-
artifact_coordinates = "com.google.dagger:hilt-core:" + POM_VERSION_ALPHA,
199+
artifact_coordinates = "com.google.dagger:hilt-core:" + POM_VERSION_BETA,
200200
artifact_name = "Hilt Core",
201201
artifact_target = ":artifact-core-lib",
202202
artifact_target_libs = [

java/dagger/hilt/android/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Description:
1616
# A library based on Hilt that provides standard components and automated injection for Android.
17-
load("//:build_defs.bzl", "POM_VERSION_ALPHA")
17+
load("//:build_defs.bzl", "POM_VERSION_BETA")
1818
load("//tools:maven.bzl", "gen_maven_artifact")
1919

2020
package(default_visibility = ["//:src"])
@@ -144,7 +144,7 @@ java_library(
144144

145145
android_library(
146146
name = "artifact-lib",
147-
tags = ["maven_coordinates=com.google.dagger:hilt-android:" + POM_VERSION_ALPHA],
147+
tags = ["maven_coordinates=com.google.dagger:hilt-android:" + POM_VERSION_BETA],
148148
exports = [
149149
":android_entry_point",
150150
":early_test_entry_point",
@@ -159,7 +159,7 @@ android_library(
159159

160160
gen_maven_artifact(
161161
name = "artifact",
162-
artifact_coordinates = "com.google.dagger:hilt-android:" + POM_VERSION_ALPHA,
162+
artifact_coordinates = "com.google.dagger:hilt-android:" + POM_VERSION_BETA,
163163
artifact_name = "Hilt Android",
164164
artifact_target = ":artifact-lib",
165165
artifact_target_libs = [

java/dagger/hilt/android/processor/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
# Description:
1616
# Hilt android processors.
1717

18-
load("//:build_defs.bzl", "POM_VERSION_ALPHA")
18+
load("//:build_defs.bzl", "POM_VERSION_BETA")
1919
load("//tools:maven.bzl", "gen_maven_artifact")
2020

2121
package(default_visibility = ["//:src"])
2222

2323
java_library(
2424
name = "artifact-lib",
25-
tags = ["maven_coordinates=com.google.dagger:hilt-android-compiler:" + POM_VERSION_ALPHA],
25+
tags = ["maven_coordinates=com.google.dagger:hilt-android-compiler:" + POM_VERSION_BETA],
2626
visibility = ["//visibility:private"],
2727
exports = [
2828
"//java/dagger/hilt/processor:artifact-lib-shared",
@@ -31,7 +31,7 @@ java_library(
3131

3232
gen_maven_artifact(
3333
name = "artifact",
34-
artifact_coordinates = "com.google.dagger:hilt-android-compiler:" + POM_VERSION_ALPHA,
34+
artifact_coordinates = "com.google.dagger:hilt-android-compiler:" + POM_VERSION_BETA,
3535
artifact_name = "Hilt Android Processor",
3636
artifact_target = ":artifact-lib",
3737
artifact_target_libs = [

java/dagger/hilt/android/testing/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Description:
1515
# Testing libraries for Hilt Android.
1616

17-
load("//:build_defs.bzl", "POM_VERSION_ALPHA")
17+
load("//:build_defs.bzl", "POM_VERSION_BETA")
1818
load("//tools:maven.bzl", "gen_maven_artifact")
1919

2020
package(default_visibility = ["//:src"])
@@ -171,7 +171,7 @@ java_library(
171171
android_library(
172172
name = "artifact-lib",
173173
testonly = 1,
174-
tags = ["maven_coordinates=com.google.dagger:hilt-android-testing:" + POM_VERSION_ALPHA],
174+
tags = ["maven_coordinates=com.google.dagger:hilt-android-testing:" + POM_VERSION_BETA],
175175
exports = [
176176
":bind_value",
177177
":custom_test_application",
@@ -186,7 +186,7 @@ android_library(
186186
gen_maven_artifact(
187187
name = "artifact",
188188
testonly = 1,
189-
artifact_coordinates = "com.google.dagger:hilt-android-testing:" + POM_VERSION_ALPHA,
189+
artifact_coordinates = "com.google.dagger:hilt-android-testing:" + POM_VERSION_BETA,
190190
artifact_name = "Hilt Android Testing",
191191
artifact_target = ":artifact-lib",
192192
artifact_target_libs = [

java/dagger/hilt/processor/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Description:
1616
# Hilt android processors.
1717

18-
load("//:build_defs.bzl", "POM_VERSION_ALPHA")
18+
load("//:build_defs.bzl", "POM_VERSION_BETA")
1919
load("//tools:maven.bzl", "gen_maven_artifact")
2020

2121
package(default_visibility = ["//:src"])
@@ -42,7 +42,7 @@ java_library(
4242

4343
java_library(
4444
name = "artifact-lib",
45-
tags = ["maven_coordinates=com.google.dagger:hilt-compiler:" + POM_VERSION_ALPHA],
45+
tags = ["maven_coordinates=com.google.dagger:hilt-compiler:" + POM_VERSION_BETA],
4646
visibility = ["//visibility:private"],
4747
exports = [
4848
":artifact-lib-shared",
@@ -51,7 +51,7 @@ java_library(
5151

5252
gen_maven_artifact(
5353
name = "artifact",
54-
artifact_coordinates = "com.google.dagger:hilt-compiler:" + POM_VERSION_ALPHA,
54+
artifact_coordinates = "com.google.dagger:hilt-compiler:" + POM_VERSION_BETA,
5555
artifact_name = "Hilt Processor",
5656
artifact_target = ":artifact-lib",
5757
artifact_target_libs = [

util/deploy-to-maven-central.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ bash $(dirname $0)/run-local-tests.sh
2424

2525
# Note: we detach from head before making any sed changes to avoid commiting
2626
# a particular version to master. This sed change used to be done at the very
27-
# end of the script, but with the introduction of "-alpha" to the Hilt
27+
# end of the script, but with the introduction of "-beta" to the Hilt
2828
# artifacts, we need to do the sed replacement before deploying the artifacts to
2929
# maven. Note, that this sed replacement is only done for versioned releases.
3030
# HEAD-SNAPSHOT and LOCAL_SNAPSHOT versions of Hilt artifacts do not contain
31-
# "-alpha".
31+
# "-beta".
3232
git checkout --detach
3333

3434
# Set the version string that is used as a tag in all of our libraries. If
3535
# another repo depends on a versioned tag of Dagger, their java_library.tags
3636
# should match the versioned release.
37-
sed -i s/'#ALPHA_POSTFIX'/'+ "-alpha"'/g build_defs.bzl
37+
sed -i s/'#BETA_POSTFIX'/'+ "-beta"'/g build_defs.bzl
3838
sed -i s/'${project.version}'/"${VERSION_NAME}"/g build_defs.bzl
3939

4040
bash $(dirname $0)/deploy-dagger.sh \
@@ -46,7 +46,7 @@ bash $(dirname $0)/deploy-dagger.sh \
4646

4747
bash $(dirname $0)/deploy-hilt.sh \
4848
"gpg:sign-and-deploy-file" \
49-
"${VERSION_NAME}-alpha" \
49+
"${VERSION_NAME}-beta" \
5050
"-DrepositoryId=sonatype-nexus-staging" \
5151
"-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/" \
5252
"-Dgpg.keyname=${KEY}"

workspace_defs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
"""A macro to configure Dagger deps within a workspace"""
1616

17-
load("//:build_defs.bzl", "POM_VERSION", "POM_VERSION_ALPHA")
17+
load("//:build_defs.bzl", "POM_VERSION", "POM_VERSION_BETA")
1818

1919
_DAGGER_VERSION = POM_VERSION
20-
_HILT_VERSION = POM_VERSION_ALPHA
20+
_HILT_VERSION = POM_VERSION_BETA
2121

2222
DAGGER_ARTIFACTS = [
2323
"com.google.dagger:dagger:" + _DAGGER_VERSION,

0 commit comments

Comments
 (0)