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
Bill Wagner 2021-06-28 17:52:16 -04:00 committed by GitHub
parent 542f221fc0
commit 501cc7a80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -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