diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2013-12-20 10:44:38 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2013-12-20 10:45:58 +0100 |
commit | 00e0f4c282b8d98f5c412ef16e433aa529a47676 (patch) | |
tree | f379ce17dae848a91999d2a536a04c4fb47df056 | |
parent | f3d289976159e649fd1308596cfaa1b270be1822 (diff) |
Fixed typos, added push command for tag.
Change-Id: I0911b6e14abdf42a613294a4ee9a4695590f2a9c
-rwxr-xr-x | do-release | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -38,7 +38,7 @@ fi log_i "Checking tree status" status=`git status --short` if [ -n "$status" ]; then - die "Tree is dirty according to bzr status" + die "Tree is dirty according to git status" fi log_i "Running tests" @@ -61,10 +61,14 @@ git commit -a -m "Release $version." log_i "Creating tag $version" git tag "$version" +log_i "Pushing changes and tag" +git push oring master +git push --tags + log_i "Generating ChangeLog" if [ -z "$old_version"]; then git log --date=short --no-merges --format=format:"%ad %aN <%aE>%n%n %s%n" >ChangeLog -else: +else # If we have also the old revision, we can generate changelog only for # those tags, instead of a full changelog since the beginning of time. git log --date=short --no-merges --format=format:"%ad %aN <%aE>%n%n %s%n" >ChangeLog "$old_version".."$version" |