Update to latest version of the What's New action (#22629)
* add latest version * remove old version * remove date math The data math is now down by the default config.pull/22630/head
parent
542f221fc0
commit
501cc7a80d
Binary file not shown.
|
@ -7,11 +7,6 @@ set -e
|
|||
# $2 is the <github.repository>
|
||||
# $3 is the savedir
|
||||
|
||||
declare -r STARTDATE=$(date "+%F" -d "$(date +'%Y-%m-01') -1 month");
|
||||
declare -r ENDDATE=$(date "+%F" -d "$STARTDATE +1 month -1 day");
|
||||
|
||||
echo "From $STARTDATE to $ENDDATE"
|
||||
|
||||
while getopts o:r:s: option
|
||||
do
|
||||
case "${option}"
|
||||
|
@ -25,6 +20,4 @@ done
|
|||
dotnet whatsnew \
|
||||
--owner $OWNER \
|
||||
--repo $REPO \
|
||||
--startdate $STARTDATE \
|
||||
--enddate $ENDDATE \
|
||||
--savedir $SAVEDIR
|
||||
|
|
Loading…
Reference in New Issue