-
Notifications
You must be signed in to change notification settings - Fork 725
Add Ubuntu 22.04 builds and upgrade core Linux dependencies #11412
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
base: master
Are you sure you want to change the base?
Changes from all commits
6aa0fa6
74b8525
5f9f531
2df80e9
dd2164e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -219,7 +219,15 @@ else | |||||||||||||||||||
| BUNDLE_DIR=$(readlink -f "$PWD/../target/release/bundle") | ||||||||||||||||||||
| fi | ||||||||||||||||||||
|
|
||||||||||||||||||||
| # The release dir determines a (significant portion of) the final S3 object key. | ||||||||||||||||||||
| RELEASE_DIR="$DIST/$OS/$ARCH" | ||||||||||||||||||||
| if [ "$OS" = "linux" ]; then | ||||||||||||||||||||
| # We build for multiple linux distros and need distinct keys for them. | ||||||||||||||||||||
| RELEASE_DIR="$DIST/$OS/$(lsb_release -cs)/$ARCH" | ||||||||||||||||||||
| fi | ||||||||||||||||||||
|
Comment on lines
+222
to
+227
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Byron As you thought, there was probably a last-write-wins situation going on with the S3 uploads for the Linux releases. This should address that (if I've finally actually understood how the S3 keys are determined), BUT it is not enough. There's a part of the gitbutler/.github/workflows/publish.yaml Lines 398 to 406 in 0e8b4cc
A quick peek into that API shows this: $ curl -s https://app.gitbutler.com/releases/ | jq
{
"version": "0.18.2",
"notes": "- Improved UX of branch reordering, making creating / splitting stacks of branches more intuitive\n- Fixes a bug with commit message / PR description inputs preventing creating new lines (paragraphs)\n- Codegen - fixes a bug with full commands not being shown in permission requests",
"pub_date": "2025-11-29T14:53:27+00:00",
"platforms": {
<snip>
"linux-aarch64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUck9FSStpbTFYWUxuWGxGNEdyRDhKRHMzdGpQamhacEhOcVJRYTJNYzJHdVl5RDJ0OG9jbytlUXBUYVphWkNBbkw1RWxSYVFPQ1ZMUHZkMWVGV1J3cjRENmZXOTQ4S1FFPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzY0NDI0NTg3CWZpbGU6R2l0QnV0bGVyXzAuMTguMl9hYXJjaDY0LkFwcEltYWdlLnRhci5negpXSEhmOVhIUHcwVi9mSS9PWkJHOUxwVmxGbmhxY1ZlMjZPQ25LRWYzQXBEc2plVnM5Qms3N0hUV0wrVDNvZjh5bGYrVGIzZEdJWnRzaURYUkFmYUdCQT09Cg==",
"url": "https://releases.gitbutler.com/releases/release/0.18.2-2660/linux/aarch64/GitButler_0.18.2_aarch64.AppImage.tar.gz"
},
"linux-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUck9FSStpbTFYWUQ0cnVYQ3VEYzhKUWhlUHMwdmovamtwTnlMWE1jY2Y2MGlIUms4c21BSWNUK3RUNzNYbDNDT0E2TU1EN2VnQmg0aUZkQnlYS2hqbGRjUUNRY2t1S1FVPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzY0NDI0NTIwCWZpbGU6R2l0QnV0bGVyXzAuMTguMl9hbWQ2NC5BcHBJbWFnZS50YXIuZ3oKbnc2SFNoc2dqcDRReDUzTDZxdEhuWEhxMVUwSy9EQkZYU2ZSNHJjVzRPL2o4TFA0aytRbXR4Z0hOWUhpd2tXUVVaeXE0UG1NVGZNU0xIU2tyd3ZSQ2c9PQo=",
"url": "https://releases.gitbutler.com/releases/release/0.18.2-2660/linux/x86_64/GitButler_0.18.2_amd64.AppImage.tar.gz"
}
}
}That API needs to be updated, along with the website page that shows downloads: https://gitbutler.com/downloads And potentially also the Tauri updater plugin URLs, I don't really know how those work. This super easy, barely an inconvenience little thing turned out to be all kinds of inconvenient :)
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for validating my worst fears 😅. With this PR not updating dependencies anymore, I think what's left to be done here is to update the backend to deal with this. |
||||||||||||||||||||
|
|
||||||||||||||||||||
| echo "Resolved RELEASE_DIR=$RELEASE_DIR" | ||||||||||||||||||||
|
|
||||||||||||||||||||
| mkdir -p "$RELEASE_DIR" | ||||||||||||||||||||
|
|
||||||||||||||||||||
| if [ "$OS" = "macos" ]; then | ||||||||||||||||||||
|
|
||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in OP, I'm really unsure if this build is desirable.