Skip to content

Commit

Permalink
=doc add new script to output commits since last version by submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph committed Feb 23, 2017
1 parent 3c966af commit 025194c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 4 deletions.
10 changes: 6 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
## Releasing

1. Create a [new release](https://github.com/akka/akka-http/releases/new) with the next tag version (e.g. `v13.3.7`), title and release description including notable changes mentioning external contributors.
2. Travis CI will start a [CI build](https://travis-ci.org/akka/akka-http/builds) for the new tag and publish artifacts to Bintray and will sync them to Maven Central.
3. Checkout the newly created tag and run `sbt -Dakka.genjavadoc.enabled=true "++2.12.0 deployRsync repo.akka.io"` to deploy API and reference documentation.
4. Add the released version to `project/MiMa.scala` to the `mimaPreviousArtifacts` key.
1. Add a release notes entry in docs/src/main/paradox/release-notes.md. As a helper run
`scripts/commits-for-release-notes.sh <last-version-tag>` which will output a list of commits grouped by submodule.
2. Create a [new release](https://github.com/akka/akka-http/releases/new) with the next tag version (e.g. `v13.3.7`), title and release description including notable changes mentioning external contributors.
3. Travis CI will start a [CI build](https://travis-ci.org/akka/akka-http/builds) for the new tag and publish artifacts to Bintray and will sync them to Maven Central.
4. Checkout the newly created tag and run `sbt -Dakka.genjavadoc.enabled=true "++2.12.0 deployRsync repo.akka.io"` to deploy API and reference documentation.
5. Add the released version to `project/MiMa.scala` to the `mimaPreviousArtifacts` key.

### Under the Travis hood

Expand Down
42 changes: 42 additions & 0 deletions scripts/commits-for-release-notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/sh

set -e

ROOT_DIR=$(dirname $(readlink -f $0))/..

LAST_VERSION=$1

echo "Changes in akka-http-core"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-core

echo
echo "Changes in akka-http"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http

echo
echo "Changes in akka-http-marshallers"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-marshallers*

echo
echo "Changes in akka-http-testkit"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-testkit

echo
echo "Changes in docs"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/docs

echo
echo "Changes in akka-http2-support"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http2-support

echo
echo "Changes in build"
echo
git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/project $ROOT_DIR/*.sbt

0 comments on commit 025194c

Please sign in to comment.