diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index f843dd0..456c2f9 100755 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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