Skip to content

Commit

Permalink
Prepare version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Feb 26, 2022
1 parent ca49a24 commit 291e99c
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 33 deletions.
27 changes: 13 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
Change Log
==========
# Change Log

Version 0.5.0 *(2020-09-16)*
----------------------------
## 0.6.0 - 2022-02-25

* Library is now fully multiplatform supporting JS and native targets in addition to JVM/Android.
* Text drawing is now provided by [crossword](https://github.com/JakeWharton/crossword) library.


## 0.5.0 - 2020-09-16

* New: Each line in a multi-line cell is now individually aligned.
* New: Do not measure ANSI control sequences allowing color to be used inside cells.


Version 0.4.0 *(2020-08-12)*
----------------------------
## 0.4.0 - 2020-08-12

* New: `cells()` function adds multiple cells at once to a row.
* `TextBorder` property name changed to `characters`.


Version 0.3.1 *(2020-04-20)*
----------------------------
## 0.3.1 - 2020-04-20

* Fix: Use own implementation of codepoint iteration which enables running on Android.


Version 0.3.0 *(2020-02-07)*
----------------------------
## 0.3.0 - 2020-02-07

* New: Support for a table-level border on the table style. This border is automatically collapsed
with cell borders which are on the edge of the table. The table border makes it easy to enclose
Expand All @@ -31,8 +32,7 @@ Version 0.3.0 *(2020-02-07)*
glyphs which render as a single visual "character" are now supported and measured correctly.


Version 0.2.0 *(2019-12-09)*
----------------------------
## 0.2.0 - 2019-12-09

* New: Builder-based API for Java users.
* Fix: Use actual Java default methods on interfaces instead of fake Kotlin default methods.
Expand All @@ -41,7 +41,6 @@ Version 0.2.0 *(2019-12-09)*
longer destructure or `copy` model types.


Version 0.1.0 *(2019-11-18)*
----------------------------
## 0.1.0 2019-11-18

Initial release.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,32 @@ table {
Download
--------

Artifacts are available in Maven Central at `com.jakewharton.picnic:picnic:0.5.0`.
```groovy
repositories {
mavenCentral()
}
dependencies {
implementation 'com.jakewharton.picnic:picnic:0.6.0'
}
```

<details>
<summary>Snapshots of the development version are available in Sonatype's snapshots repository.</summary>
<p>

```groovy
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
implementation 'com.jakewharton.picnic:picnic:0.7.0-SNAPSHOT'
}
```

In-development snapshots are available from
[Sonatype's snapshot repository](https://oss.sonatype.org/content/repositories/snapshots/).
</p>
</details>



Expand Down
62 changes: 47 additions & 15 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,47 @@
Releasing
========

1. Change the version in `build.gradle` to a non-SNAPSHOT version.
2. Update the `CHANGELOG.md` for the impending release.
3. Update the `README.md` with the new version.
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
5. `./gradlew clean publish`.
6. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
7. `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version)
8. Update the `build.gradle` to the next SNAPSHOT version.
9. `git commit -am "Prepare next development version."`
10. `git push && git push --tags`

If step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5.
# Releasing

1. Update the `VERSION_NAME` in `gradle.properties` to the release version.

2. Update the `CHANGELOG.md`:
1. Change the `Unreleased` header to the release version.
2. Add a link URL to ensure the header link works.
3. Add a new `Unreleased` section to the top.

3. Update the `README.md` so the "Download" section reflects the new release version and the
snapshot section reflects the next "SNAPSHOT" version.

4. Commit

```
$ git commit -am "Prepare version X.Y.X"
```

5. Publish

```
$ ./gradlew clean publish
```
6. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
If this step fails, drop the Sonatype repo, fix, commit, and publish again.
7. Tag
```
$ git tag -am "Version X.Y.Z" X.Y.Z
```
8. Update the `VERSION_NAME` in `gradle.properties` to the next "SNAPSHOT" version.
9. Commit
```
$ git commit -am "Prepare next development version"
```
10. Push!
```
$ git push && git push --tags
```
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.jakewharton.picnic
VERSION_NAME=0.6.0-SNAPSHOT
VERSION_NAME=0.6.0

POM_DESCRIPTION=An API for constructing HTML-like tables which can be rendered to text

Expand Down

0 comments on commit 291e99c

Please sign in to comment.