fix
This commit is contained in:
parent
268e8d72e2
commit
6827e48bf1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ jobs:
|
|||
counter=$(echo $latest_release | awk -F '.' '//{print $3}')
|
||||
|
||||
# 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++));
|
||||
# else reset counter
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue