Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f0d0da37
Commit
f0d0da37
authored
Jul 29, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #454 from edx/cale/default-branch-info-for-release-email-script
Default branch info for release email script
parents
8ed33b3d
e6483473
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
scripts/release-email-list.sh
+13
-2
No files found.
scripts/release-email-list.sh
View file @
f0d0da37
#! /bin/bash
LOG_CMD
=
"git --no-pager log
$1
..
$2
"
# Usage: release-email-list.sh [$PREVIOUS_COMMIT [$CURRENT_COMMIT]]
#
# Prints a list of email addresses and a Confluence style wiki table
# that indicate all of the changes made between $PREVIOUS_COMMIT and $CURRENT_COMMIT
#
# PREVIOUS_COMMIT defaults to origin/release
# CURRENT_COMMIT defaults to HEAD
BASE
=
${
1
:-
origin
/release
}
CURRENT
=
${
2
:-
HEAD
}
LOG_CMD
=
"git --no-pager log
$BASE
..
$CURRENT
"
RESPONSIBLE
=
$(
sort
-u
<
(
$LOG_CMD
--format
=
'tformat:%ae'
&&
$LOG_CMD
--format
=
'tformat:%ce'
)
)
echo
"Comparing
$BASE
to
$CURRENT
"
echo
"~~~~ Email ~~~~~"
echo
-n
'To: '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment