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

Fix shell syntax in version_git.sh and remove warning. #43196

Merged
merged 1 commit into from
Nov 23, 2021
Merged

Conversation

fredrikekre
Copy link
Member

No description provided.

Copy link
Member

@DilumAluthge DilumAluthge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but would be good for Elliot to double-check.

@DilumAluthge
Copy link
Member

In theory, we could look for the presence of the CI environment variable, and if that environment variable is present, we would print the warning (since, on CI, we expect that the .buildkite directory exists and is a Git repository).

@fredrikekre
Copy link
Member Author

Who will read that warning though? Will CI even start if that directory doesn't exist?

@DilumAluthge
Copy link
Member

Yeah that's a good point. You'd only see the warning if you checked the CI logs. But as you point out, if the .buildkite directory is missing, we expect that Buildkite CI will error.

@DilumAluthge
Copy link
Member

It's also not really worth trying to stuff too much CI-specific stuff into this shell script in the first place. So I think just removing the warning is fine.

@staticfloat staticfloat merged commit 99f6558 into master Nov 23, 2021
@staticfloat staticfloat deleted the fe/bin/sh branch November 23, 2021 18:04
@DilumAluthge DilumAluthge added backport 1.6 Change should be backported to release-1.6 backport 1.7 labels Nov 30, 2021
KristofferC pushed a commit that referenced this pull request Dec 2, 2021
@KristofferC KristofferC mentioned this pull request Dec 2, 2021
29 tasks
KristofferC pushed a commit that referenced this pull request Dec 2, 2021
KristofferC pushed a commit that referenced this pull request Dec 2, 2021
@KristofferC KristofferC mentioned this pull request Dec 2, 2021
15 tasks
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Dec 11, 2021
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants