Skip to content

fix: force base-10 interpretation in post summary date check

Navin Karkera requested to merge navin/fix-base-10 into master

The expression which checks whether this is an even week starting from 2022-04-18 is failing in here due to bash interpreting 08 as an octal number. This fix forces base-10 interpretation for the same.

Better explanation: https://stackoverflow.com/a/24777667.

The check is now passing as seen here. Ignore the pipeline failure which is due to the job running on this branch not having access to secrets.

Edited by Navin Karkera

Merge request reports