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

Update release script to nu v0.71 and use ubuntu-20.04 to build nu binary #7290

Merged
merged 3 commits into from
Dec 1, 2022

Conversation

hustcer
Copy link
Contributor

@hustcer hustcer commented Nov 30, 2022

Description

  1. Update nu to v0.71 for release script
  2. Remove the usage of set-output see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  3. Use ubuntu-20.04 instead of ubuntu-latest to fix glibc version too damn high? #7282

To check the workflow running result see: https://github.com/hustcer/nu-release/actions/runs/3588720720/jobs/6040412953

User-Facing Changes

(List of all changes that impact the user experience here. This helps us keep track of breaking changes.)

Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

  • cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
  • cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
  • cargo test --workspace to check that all tests pass

After Submitting

If your PR had any user-facing changes, update the documentation after the PR is merged, if necessary. This will help us keep the docs up to date.

@fdncred
Copy link
Collaborator

fdncred commented Nov 30, 2022

Thanks for your help with this.

It would also be helpful to print out the variables in the first ~20 lines. It was difficult for me to debug without really knowing what these were supposed to be. I'd also like to land this PR #7277 before this one because it has some comments on running it manually.

@hustcer
Copy link
Contributor Author

hustcer commented Nov 30, 2022

@fdncred That's fine with me, I will wait until #7277 merged.

@fdncred
Copy link
Collaborator

fdncred commented Nov 30, 2022

@hustcer Would you mind changing this to 20.04 vs 22.04? We think moving to the older version would help with the glibc issues.

@hustcer
Copy link
Contributor Author

hustcer commented Dec 1, 2022

@hustcer Would you mind changing this to 20.04 vs 22.04? We think moving to the older version would help with the glibc issues.

I agree with you, will change it to ubuntu-20.04 later

@hustcer hustcer changed the title Update release script to nu v0.72 Update release script to nu v0.71 and use ubuntu-20.04 to build nu binary Dec 1, 2022
@hustcer hustcer marked this pull request as ready for review December 1, 2022 02:26
@hustcer hustcer merged commit 45c66e2 into nushell:main Dec 1, 2022
@hustcer hustcer deleted the update/release branch December 1, 2022 02:44
sophiajt pushed a commit that referenced this pull request Dec 5, 2022
…nary (#7290)

# Description

1. Update nu to v0.71 for release script
2. Remove the usage of `set-output` see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
3. Use `ubuntu-20.04` instead of `ubuntu-latest` to fix #7282 

To check the workflow running result see:
https://github.com/hustcer/nu-release/actions/runs/3588720720/jobs/6040412953

# User-Facing Changes

_(List of all changes that impact the user experience here. This helps
us keep track of breaking changes.)_

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
rgwood added a commit that referenced this pull request Dec 5, 2022
The release job was pinned to Ubuntu 20.04 to avoid glibc breakage in
#7290. This PR updates the CI
jobs to keep things consistent (it would sure be unpleasant if things
worked in CI but not at release time).
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.

glibc version too damn high?
2 participants