From f2f378589ed16e009c5ee879786affdf6ff81049 Mon Sep 17 00:00:00 2001 From: Moses Nakamura Date: Fri, 25 Feb 2022 14:23:01 +0000 Subject: [PATCH] Twitter-oss: Prepare OSS libraries for release 22.2.0 Problem We want to release the next versions of our Twitter OSS libraries 22.2.0 - util - scrooge - finagle - twitter-server - finatra Solution Prepare libraries for their next releases. JIRA Issues: CSL-11693 Differential Revision: https://phabricator.twitter.biz/D840164 --- CHANGELOG.rst | 3 +++ README.md | 2 +- build.sbt | 2 +- demos/scrooge-maven-demo/pom.xml | 12 ++++++------ doc/src/sphinx/SBTPlugin.rst | 10 +++++----- doc/src/sphinx/index.rst | 4 ++-- scrooge-maven-plugin/pom.xml | 4 ++-- 7 files changed, 20 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 68f248fd..0d5ce7d7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,9 @@ Note that ``PHAB_ID=#`` and ``RB_ID=#`` correspond to associated messages in com Unreleased ---------- +22.2.0 +------ + New Features ~~~~~~~~~~~~ diff --git a/README.md b/README.md index 2cbff24a..8baf4986 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Scrooge -[![Build Status](https://github.com/twitter/scrooge/workflows/continuous%20integration/badge.svg?branch=develop)](https://github.com/twitter/scrooge/actions?query=workflow%3A%22continuous+integration%22+branch%3Adevelop) +[![Build Status](https://github.com/twitter/scrooge/workflows/continuous%20integration/badge.svg?branch=release)](https://github.com/twitter/scrooge/actions?query=workflow%3A%22continuous+integration%22+branch%3Arelease) [![Codecov](https://codecov.io/gh/twitter/scrooge/branch/develop/graph/badge.svg)](https://codecov.io/gh/twitter/scrooge) [![Project status](https://img.shields.io/badge/status-active-brightgreen.svg)](#status) [![Gitter](https://badges.gitter.im/twitter/finagle.svg)](https://gitter.im/twitter/finagle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) diff --git a/build.sbt b/build.sbt index 902e189d..8cec9af1 100644 --- a/build.sbt +++ b/build.sbt @@ -9,7 +9,7 @@ Global / excludeLintKeys += scalacOptions // 'git checkout develop; sbt publishLocal' to publish SNAPSHOT versions of these projects. // All Twitter library releases are date versioned as YY.MM.patch -val releaseVersion = "22.2.0-SNAPSHOT" +val releaseVersion = "22.2.0" lazy val versions = new { val slf4j = "1.7.30" diff --git a/demos/scrooge-maven-demo/pom.xml b/demos/scrooge-maven-demo/pom.xml index 0296adb7..b5679c69 100644 --- a/demos/scrooge-maven-demo/pom.xml +++ b/demos/scrooge-maven-demo/pom.xml @@ -24,28 +24,28 @@ com.twitter scrooge-core_2.12 - 22.2.0-SNAPSHOT + 22.2.0 com.twitter finagle-thrift_2.12 - 22.2.0-SNAPSHOT + 22.2.0 com.twitter util-core_2.12 - 22.2.0-SNAPSHOT + 22.2.0 com.twitter util-codec_2.12 - 22.2.0-SNAPSHOT + 22.2.0 com.twitter finagle-core_2.12 - 22.2.0-SNAPSHOT + 22.2.0 junit @@ -129,7 +129,7 @@ com.twitter scrooge-maven-plugin - 22.2.0-SNAPSHOT + 22.2.0 diff --git a/doc/src/sphinx/SBTPlugin.rst b/doc/src/sphinx/SBTPlugin.rst index d744a9ac..4c456b1c 100644 --- a/doc/src/sphinx/SBTPlugin.rst +++ b/doc/src/sphinx/SBTPlugin.rst @@ -13,7 +13,7 @@ To use the scrooge-sbt-plugin, add the following lines to your :: - addSbtPlugin("com.twitter" % "scrooge-sbt-plugin" % "22.1.0") + addSbtPlugin("com.twitter" % "scrooge-sbt-plugin" % "22.2.0") Incorporating this line makes the Scrooge plugin available for use by SBT. Thrift files added to your project can now have code generated for them. By @@ -41,8 +41,8 @@ An example using a `build.sbt` file. name := "Scrooge Demo", libraryDependencies ++= Seq( "org.apache.thrift" % "libthrift" % "0.10.0", - "com.twitter" %% "scrooge-core" % "22.1.0", - "com.twitter" %% "finagle-thrift" % "22.1.0", + "com.twitter" %% "scrooge-core" % "22.2.0", + "com.twitter" %% "finagle-thrift" % "22.2.0", scalaTest % Test ) ) @@ -101,7 +101,7 @@ have Scrooge generate Java code. scroogeLanguages in Compile := Seq("java"), libraryDependencies ++= Seq( "org.apache.thrift" % "libthrift" % "0.10.0", - "com.twitter" %% "scrooge-core" % "22.1.0", - "com.twitter" %% "finagle-thrift" % "22.1.0", + "com.twitter" %% "scrooge-core" % "22.2.0", + "com.twitter" %% "finagle-thrift" % "22.2.0", scalaTest % Test ) diff --git a/doc/src/sphinx/index.rst b/doc/src/sphinx/index.rst index ee175748..64d95daa 100644 --- a/doc/src/sphinx/index.rst +++ b/doc/src/sphinx/index.rst @@ -45,14 +45,14 @@ Maven users need to add the following to the pom.xml file: com.twitter scrooge-core_2.12 - 22.1.0 + 22.2.0 SBT users need this: :: - val scroogeCore = "com.twitter" %% "scrooge-core" % "22.1.0" + val scroogeCore = "com.twitter" %% "scrooge-core" % "22.2.0" Building Scrooge ---------------- diff --git a/scrooge-maven-plugin/pom.xml b/scrooge-maven-plugin/pom.xml index e57bd2e3..6afbc3a8 100644 --- a/scrooge-maven-plugin/pom.xml +++ b/scrooge-maven-plugin/pom.xml @@ -5,7 +5,7 @@ scrooge-maven-plugin maven-plugin scrooge-maven-plugin - 22.2.0-SNAPSHOT + 22.2.0 3.0.4 @@ -297,7 +297,7 @@ com.twitter scrooge-generator_2.10 - 22.2.0-SNAPSHOT + 22.2.0