Skip to content

Commit

Permalink
Update newqqwry.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nmgliangwei authored Aug 20, 2024
1 parent e6b0a93 commit e3d4443
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/newqqwry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
echo "Czdb file download failed."
exit 1
fi
TAG_DATE=$(ls ./tmpdownload/*.dat |grep -o -E '^[0-9]{8}' |sed 's/\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/\1-\2-\3/')
dat_file_name=$(ls ./tmpdownload/*.dat)
TAG_DATE=$( echo "${dat_file_name##*/}" |grep -o -E '^[0-9]{8}' |sed 's/\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/\1-\2-\3/')
mv ./tmpdownload/*.dat ./tmpdownload/qqwry.dat
unzip ./tmpdownload/czdb.zip -d ./tmpdownload/
ls -alh ./tmpdownload/
Expand Down

0 comments on commit e3d4443

Please sign in to comment.