Skip to content

Commit 43004f2

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 43004f2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

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)