Skip to content

Commit fc9d48d

Browse files
committed
Release prep.
1 parent 9770f36 commit fc9d48d

File tree

8 files changed

+27
-10
lines changed

8 files changed

+27
-10
lines changed

RELEASE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# RasterFrames Release Process
2+
3+
1. Make sure `release-notes.md` is updated.
4+
2. Use `git flow release start x.y.z` to create release branch.
5+
3. Manually edit `version.sbt` and `version.py` to set value to `x.y.z` and commit changes.
6+
4. Do `docker login` if necessary.
7+
5. `sbt` shell commands:
8+
a. `clean`
9+
b. `test it:test`
10+
c. `makeSite`
11+
d. `publishSigned` (LocationTech credentials required)
12+
e. `sonatypeReleaseAll`. It can take a while, but should eventually show up [here](https://search.maven.org/search?q=g:org.locationtech.rasterframes).
13+
f. `docs/ghpagesPushSite`
14+
g. `rf-notebook/publish`
15+
6. `cd pyrasterframes/target/python/dist`
16+
7. `python3 -m twine upload pyrasterframes-x.y.z-py2.py3-none-any.whl`
17+
8. Commit any changes that were necessary.
18+
9. `git-flow finish release`. Make sure to push tags, develop and master
19+
branches.
20+
10. On `develop`, update `version.sbt` and `version.py` to next development
21+
version (`x.y.(z+1)-SNAPSHOT` and `x.y.(z+1).dev0`). Commit and push.
22+
11. In GitHub, create a new release with the created tag. Copy relevant
23+
section of release notes into the description.

core/src/main/scala/org/locationtech/rasterframes/expressions/aggregates/ApproxCellQuantilesAggregate.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ case class ApproxCellQuantilesAggregate(probabilities: Seq[Double], relativeErro
5858
tile.foreachDouble(d => if (!isNoData(d)) result = result.insert(d))
5959
buffer.update(0, result.toRow)
6060
}
61-
else buffer
6261
}
6362

6463
override def merge(buffer1: MutableAggregationBuffer, buffer2: Row): Unit = {

core/src/test/scala/org/locationtech/rasterframes/RasterFramesStatsSpec.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
package org.locationtech.rasterframes
2323

24-
import org.locationtech.rasterframes.RasterFunctions
2524
import org.apache.spark.sql.functions.{col, explode}
2625

2726
class RasterFramesStatsSpec extends TestEnvironment with TestData {

core/src/test/scala/org/locationtech/rasterframes/RasterFunctionsSpec.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,8 @@
2121

2222
package org.locationtech.rasterframes
2323

24-
import java.io.ByteArrayInputStream
25-
2624
import geotrellis.raster._
27-
import geotrellis.raster.render.ColorRamps
2825
import geotrellis.raster.testkit.RasterMatchers
29-
import javax.imageio.ImageIO
3026
import org.apache.spark.sql.functions._
3127
import org.locationtech.rasterframes.expressions.accessors.ExtractTile
3228
import org.locationtech.rasterframes.tiles.ProjectedRasterTile

core/src/test/scala/org/locationtech/rasterframes/RasterLayerSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import geotrellis.spark._
3333
import geotrellis.spark.tiling._
3434
import geotrellis.vector.{Extent, ProjectedExtent}
3535
import org.apache.spark.sql.functions._
36-
import org.apache.spark.sql.{Encoders, SQLContext, SparkSession}
36+
import org.apache.spark.sql.{SQLContext, SparkSession}
3737
import org.locationtech.rasterframes.model.TileDimensions
3838
import org.locationtech.rasterframes.ref.RasterSource
3939
import org.locationtech.rasterframes.tiles.ProjectedRasterTile

docs/src/main/paradox/release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Added `rf_render_color_ramp_png` to compute PNG byte array for a single tile column, with specified color ramp.
1515
* In `rf_ipython`, improved rendering of dataframe binary contents with PNG preamble.
1616
* Throw an `IllegalArgumentException` when attempting to apply a mask to a `Tile` whose `CellType` has no NoData defined. ([#409](https://github.com/locationtech/rasterframes/issues/384))
17-
* Add `rf_agg_approx-quantiles` function to compute cell quantiles across an entire column.
17+
* Add `rf_agg_approx_quantiles` function to compute cell quantiles across an entire column.
1818

1919
### 0.8.4
2020

pyrasterframes/src/main/python/pyrasterframes/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
#
2121

2222
# Translating Java version from version.sbt to PEP440 norms
23-
__version__ = '0.8.5.dev0'
23+
__version__ = '0.8.5'

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "0.8.5-SNAPSHOT"
1+
version in ThisBuild := "0.8.5"

0 commit comments

Comments
 (0)