Skip to content

Commit b892f30

Browse files
l46kokcopybara-github
authored andcommitted
Prepare 0.11.0 release
Also change publishing end-points to the new Central Portal PiperOrigin-RevId: 802694895
1 parent 8363a89 commit b892f30

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

MODULE.bazel

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ GUAVA_VERSION = "33.4.8"
3939

4040
TRUTH_VERSION = "1.4.4"
4141

42+
PROTOBUF_JAVA_VERSION = "4.32.0"
43+
4244
# Compile only artifacts
4345
[
4446
maven.artifact(
@@ -49,7 +51,7 @@ TRUTH_VERSION = "1.4.4"
4951
)
5052
for group, artifact, version in [coord.split(":") for coord in [
5153
"com.google.code.findbugs:annotations:3.0.1",
52-
"com.google.errorprone:error_prone_annotations:2.38.0",
54+
"com.google.errorprone:error_prone_annotations:2.41.0",
5355
]]
5456
]
5557

@@ -80,15 +82,15 @@ maven.install(
8082
"com.google.auto.value:auto-value:1.11.0",
8183
"com.google.auto.value:auto-value-annotations:1.11.0",
8284
"com.google.guava:guava:" + GUAVA_VERSION + "-jre",
83-
"com.google.protobuf:protobuf-java:4.31.0",
84-
"com.google.protobuf:protobuf-java-util:4.31.0",
85+
"com.google.protobuf:protobuf-java:" + PROTOBUF_JAVA_VERSION,
86+
"com.google.protobuf:protobuf-java-util:" + PROTOBUF_JAVA_VERSION,
8587
"com.google.re2j:re2j:1.8",
8688
"info.picocli:picocli:4.7.7",
8789
"org.antlr:antlr4-runtime:4.13.2",
8890
"org.freemarker:freemarker:2.3.34",
8991
"org.jspecify:jspecify:1.0.0",
9092
"org.threeten:threeten-extra:1.8.0",
91-
"org.yaml:snakeyaml:2.4",
93+
"org.yaml:snakeyaml:2.5",
9294
],
9395
repositories = [
9496
"https://maven.google.com",
@@ -100,7 +102,7 @@ maven.install(
100102
# keep sorted
101103
artifacts = [
102104
"com.google.guava:guava:" + GUAVA_VERSION + "-android",
103-
"com.google.protobuf:protobuf-javalite:4.31.0",
105+
"com.google.protobuf:protobuf-javalite:" + PROTOBUF_JAVA_VERSION,
104106
],
105107
repositories = [
106108
"https://maven.google.com",
@@ -112,7 +114,7 @@ maven.install(
112114

113115
maven.install(
114116
name = "maven_conformance",
115-
artifacts = ["dev.cel:cel:0.11.0-SNAPSHOT"],
117+
artifacts = ["dev.cel:cel:0.11.0"],
116118
repositories = [
117119
"https://maven.google.com",
118120
"https://repo1.maven.org/maven2",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ CEL-Java is available in Maven Central Repository. [Download the JARs here][8] o
5555
<dependency>
5656
<groupId>dev.cel</groupId>
5757
<artifactId>cel</artifactId>
58-
<version>0.10.1</version>
58+
<version>0.11.0</version>
5959
</dependency>
6060
```
6161

6262
**Gradle**
6363

6464
```gradle
65-
implementation 'dev.cel:cel:0.10.1'
65+
implementation 'dev.cel:cel:0.11.0'
6666
```
6767

6868
Then run this example:

publish/cel_version.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
"""Maven artifact version for CEL."""
15-
CEL_VERSION = "0.10.1"
15+
CEL_VERSION = "0.11.0"

publish/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [ "$flag" == "--snapshot" ] || [ "$flag" == "-s" ]; then
5858
exit 1;
5959
fi
6060
echo "Publishing a SNAPSHOT version: $version to remote Maven repository"
61-
publish_maven_remote "https://s01.oss.sonatype.org/content/repositories/snapshots/"
61+
publish_maven_remote "https://central.sonatype.com/repository/maven-snapshots/"
6262
elif [ "$flag" == "--release" ] || [ "$flag" == "-r" ]; then
6363
if [[ $version == *"-SNAPSHOT"* ]]; then
6464
echo "Unable to publish. Please remove -SNAPSHOT suffix from CEL Version"
@@ -69,7 +69,7 @@ elif [ "$flag" == "--release" ] || [ "$flag" == "-r" ]; then
6969
read -p "Proceed (Y/N)? " yn
7070
case $yn in
7171
[Yy]* )
72-
publish_maven_remote "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
72+
publish_maven_remote "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
7373
break;;
7474
[Nn]* ) exit;;
7575
* ) echo "Please answer yes or no.";;

0 commit comments

Comments
 (0)