This commit is contained in:
sujiba 2024-06-06 23:52:29 +02:00
parent 268e8d72e2
commit 6827e48bf1

View file

@ -24,7 +24,7 @@ jobs:
counter=$(echo $latest_release | awk -F '.' '//{print $3}') counter=$(echo $latest_release | awk -F '.' '//{print $3}')
# increase the counter, if the release is from the same year and month # increase the counter, if the release is from the same year and month
if [ $(date +'%Y') -eq $year ] && [ $(date +'%m') -eq $month ]; then if [[ $(date +'%Y') == $year ]] && [[ $(date +'%m') == $month ]]; then
((counter++)); ((counter++));
# else reset counter # else reset counter
else else