Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing MacOS support for list-issue-commits #409

Open
NotMyFault opened this issue Jul 28, 2023 · 0 comments
Open

Missing MacOS support for list-issue-commits #409

NotMyFault opened this issue Jul 28, 2023 · 0 comments
Labels

Comments

@NotMyFault
Copy link
Member

The script https://github.com/jenkins-infra/release/blob/master/tools/list-issue-commits syntax to gather the current date is not available on MacOS, due to the missing --iso flag:
https://github.com/jenkins-infra/release/blob/b8424c3567c79e3ee714d20815a5acd00a6f27d6/tools/list-issue-commits#L183

Additionally, the date command is inaccessible from usr/bin/date and needs a different syntax in

age="$(( ($(/usr/bin/date -d "$today" +%s) - $(/usr/bin/date -d "$release_date" +%s)) / 86400))"

Everything else is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant