Change-Id: I512be3402dc29e58168c13d2de68d68797e66036
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
publishers:
- archive-artifacts:
- artifacts: 'sources.log'
+ artifacts: 'sources.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
publishers:
- archive-artifacts:
- artifacts: 'sources.log'
+ artifacts: 'sources.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
./scripts/version.sh release $RELEASE_TAG
git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
git commit -am "Release $RELEASE_TAG"
-git submodule foreach "git format-patch --stdout origin/master > ../patches/${PWD##*/}.patch"
+
+mkdir patches
+git submodule foreach 'git format-patch --stdout origin/master > ../patches/$name.patch'
./scripts/fix-relativepaths.sh
+