Skip to content

Commit

Permalink
Create 21.1.0 release (#499)
Browse files Browse the repository at this point in the history
* Create 21.1.0 release

* Add missing step
  • Loading branch information
mdboom authored Nov 20, 2019
1 parent a859460 commit a995c2c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .buildconfig.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libraryVersion: 22.0.0-SNAPSHOT
libraryVersion: 21.1.0
groupId: org.mozilla.telemetry
projects:
glean-core:
Expand Down
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Unreleased changes

[Full changelog](https://github.com/mozilla/glean/compare/v21.0.0...master)
[Full changelog](https://github.com/mozilla/glean/compare/v21.1.0...master)

# v21.1.0 (2019-11-20)

[Full changelog](https://github.com/mozilla/glean/compare/v21.0.0...v21.1.0)

* Android:

* Two new metrics were added to investigate sending of metrics and baseline pings.
See [bug 1597980](https://bugzilla.mozilla.org/show_bug.cgi?id=1597980) for more information.

* Glean's two lifecycle observers were refactored to avoid the use of reflection.

* All platforms:

* Timespans will now not record an error if stopping after setting upload enabled to false.

# v21.0.0 (2019-11-18)

[Full changelog](https://github.com/mozilla/glean/compare/v20.2.0...v21.0.0)
Expand Down Expand Up @@ -34,7 +44,7 @@
* The version of Glean is included in the Glean Gradle plugin.

* When constructing a ping, events are now sorted by their timestamp. In practice,
it rarely happens that event timestamps are unsorted to begin with, but this
it rarely happens that event timestamps are unsorted to begin with, but this
guards against a potential race condition and incorrect usage of the lower-level
API.

Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/dev/cut-a-new-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ These are the steps needed to cut a new release from latest master.
* Kotlin package: Bump `libraryVersion` in the top-level [.buildconfig.yml](https://github.com/mozilla/glean/blob/master/.buildconfig.yml) file.
* Gradle plugin: Bump `project.ext.gleanVersion` in [`GleanGradlePlugin.groovy`](https://github.com/mozilla/glean/blob/master/gradle-plugin/src/main/groovy/mozilla/telemetry/glean-gradle-plugin/GleanGradlePlugin.groovy).
* Be sure you're following semver, and if in doubt, ask.
* Run `make build` to make sure the `Cargo.lock` file is updated.
3. Land the commits that perform the steps above. This takes a PR, typically, because of branch protection on master.
4. Cut the actual release.
1. Click "Releases", and then "Draft a New Release" in the github UI.
Expand Down
2 changes: 1 addition & 1 deletion glean-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "glean-core"
version = "22.0.0-alpha.1"
version = "21.1.0"
authors = ["Jan-Erik Rediger <[email protected]>", "The Glean Team <[email protected]>"]
description = "A modern Telemetry library"
repository = "https://github.com/mozilla/glean"
Expand Down
4 changes: 2 additions & 2 deletions glean-core/ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "glean-ffi"
version = "22.0.0-alpha.1"
version = "21.1.0"
authors = ["Jan-Erik Rediger <[email protected]>", "The Glean Team <[email protected]>"]
description = "FFI layer for Glean, a modern Telemetry library"
repository = "https://github.com/mozilla/glean"
Expand Down Expand Up @@ -34,7 +34,7 @@ uuid = { version = "0.8.1", features = ["v4"] }

[dependencies.glean-core]
path = ".."
version = "22.0.0-alpha.1"
version = "21.1.0"

[target.'cfg(target_os = "android")'.dependencies]
android_logger = { version = "0.8.5", default-features = false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ subprocess.check_call([
}

void apply(Project project) {
project.ext.glean_version = "22.0.0-SNAPSHOT"
project.ext.glean_version = "21.1.0"

File condaDir = setupPythonEnvironmentTasks(project)
project.ext.set("gleanCondaDir", condaDir)
Expand Down

0 comments on commit a995c2c

Please sign in to comment.