-
Notifications
You must be signed in to change notification settings - Fork 728
Add Ubuntu 22.04 builds #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?
Add Ubuntu 22.04 builds #11412
Changes from 5 commits
6aa0fa6
74b8525
5f9f531
2df80e9
dd2164e
2714df9
8bd00b3
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 | ||||||||||||||||||||
|
||||||||||||||||||||
| - name: Notify GitButler API of new release | |
| shell: bash | |
| run: | | |
| curl 'https://app.gitbutler.com/api/releases' \ | |
| --fail \ | |
| --request POST \ | |
| --header 'Content-Type: application/json' \ | |
| --header 'X-Auth-Token: ${{ secrets.BOT_AUTH_TOKEN }}' \ | |
| --data '{"channel":"${{ needs.build-tauri.outputs.channel }}","version":"${{ env.version }}-${{ github.run_number }}","sha":"${{ github.sha }}"}' |
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 :)
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.
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.
It's something I can't do, but @Caleb-T-Owens could. Next week @krlvi is back as well and I'd hope he can double-check the course of action, which is aptly summarised in your comment on Discord.
Uh oh!
There was an error while loading. Please reload this page.