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
e6483473
Commit
e6483473
authored
Jul 22, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default branch info for release email script
parent
1b6f81b0
Hide 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 @
e6483473
#! /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