diff --git a/submit b/submit index df1f3f0..99155e3 100755 --- a/submit +++ b/submit @@ -7,10 +7,10 @@ BRANCH=$(git branch | grep '*' | cut -d' ' -f2) # Generate ChangeLog git log --format=%H --grep="update changelog" > ignore_hash -git log --format=%H | grep -v -f ignore_hash | git log --pretty --stdin --no-walk > CHANGELOG +git log --format=%H | grep -v -f ignore_hash | git log --pretty --stdin --no-walk > CHANGELOG.git rm -f ignore_hash -git add CHANGELOG -git commit -m 'update changelog' CHANGELOG +git add CHANGELOG.git +git commit -m 'update changelog' CHANGELOG.git # Tag GIT using the version in the spec file git tag $VERSION