metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject metron git commit: METRON-1909 Remove http filter from release utils changelog generation (justinleet) closes apache/metron#1283
Date Thu, 06 Dec 2018 19:30:04 GMT
Repository: metron
Updated Branches:
  refs/heads/master 877b51014 -> e81a5c102


METRON-1909 Remove http filter from release utils changelog generation (justinleet) closes
apache/metron#1283


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/e81a5c10
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/e81a5c10
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/e81a5c10

Branch: refs/heads/master
Commit: e81a5c102375d3b7f9692a561760ff8f8526a6ec
Parents: 877b510
Author: justinleet <justinjleet@gmail.com>
Authored: Thu Dec 6 14:29:22 2018 -0500
Committer: leet <leet@apache.org>
Committed: Thu Dec 6 14:29:22 2018 -0500

----------------------------------------------------------------------
 dev-utilities/release-utils/prepare-release-candidate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/e81a5c10/dev-utilities/release-utils/prepare-release-candidate
----------------------------------------------------------------------
diff --git a/dev-utilities/release-utils/prepare-release-candidate b/dev-utilities/release-utils/prepare-release-candidate
index 635285c..35f5013 100755
--- a/dev-utilities/release-utils/prepare-release-candidate
+++ b/dev-utilities/release-utils/prepare-release-candidate
@@ -293,7 +293,7 @@ mv "${ARTIFACT}.tar.gz.asc" "$ART_DIR"
 # Do this by getting all commits in current branch that aren't in current release. Filter
out any merges by making sure lines start with blankspace followed by "METRON"
 # i.e. make sure the lines starts with a ticket number to avoid merge commits into feature
branches
 printf "Creating CHANGES file\n"
-git log "${CAPITAL_REPO}_${VERSION}" "^tags/${TAG}" --no-merges | grep -E "^[[:blank:]]+METRON"
| sed 's/\[//g' | sed 's/\]//g' | grep -v "http" > "${ART_DIR}/CHANGES"
+git log "${CAPITAL_REPO}_${VERSION}" "^tags/${TAG}" --no-merges | grep -E "^[[:blank:]]+METRON"
| sed 's/\[//g' | sed 's/\]//g' > "${ART_DIR}/CHANGES"
 if [[ $? -ne 0 ]]; then
   "Error creating CHANGES file"
   exit 1


Mime
View raw message