We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5e38f commit 0ff3003Copy full SHA for 0ff3003
bin/sweep_voting_to_wp.sh
@@ -2,7 +2,7 @@
2
3
# Sweep all issues from Voting -> WP
4
5
-if [ -z "$1" ]
+if [ $# -ne 2 ]
6
then
7
echo "Usage: $0 '<Meeting Name> YYYY-MM-DD'" >&2
8
exit 1
@@ -12,9 +12,7 @@ today=$(date +%F)
12
meeting=$1
13
date=$2
14
15
-# We could use awk -F'"' '/status="voting"/ { print $2}' xml/issue*.xml here,
16
-# but the wildcard matches thousands of files, so let git grep loop over them.
17
-git grep 'status="Voting"' xml | awk -F'"' '{print $2}' | while read inum
+bin/list_issues Voting | while read inum
18
do
19
bin/set_status $inum WP
20
sed -i "s/^<note>$today /<note>$meeting $date; /" xml/issue$inum.xml
0 commit comments