Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: upload the slim binaries from the build directory to the GCS bucket#19281

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jdomeracki-coder merged 4 commits intomainfrompublish-signatures-fix
Aug 11, 2025

Conversation

jdomeracki-coder
Copy link
Contributor

@jdomeracki-coderjdomeracki-coder commentedAug 11, 2025
edited
Loading

The following changes were made:

  • Introduced a new list of slim binary names.
  • Updated the upload script to copy the slim binaries from the ./build directory to the GCS bucket (instead of the /site/out/bin directory)

Comment on lines 645 to 656
slim_binaries=(
"coder-slim_${version}_darwin_amd64"
"coder-slim_${version}_darwin_arm64"
"coder-slim_${version}_linux_amd64"
"coder-slim_${version}_linux_arm64"
"coder-slim_${version}_linux_armv7"
"coder-slim_${version}_windows_amd64.exe"
"coder-slim_${version}_windows_arm64.exe"
)
# Target array of CLI binary names
cli_binaries=(
Copy link
Member

Choose a reason for hiding this comment

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

Maybe use an associative array? It's essentially a map. Avoids using two arrays

declare -A binariesbinaries["coder-darwin-amd64"] = "build/coder_slim_${version}-darwin_amd64"

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Thought about it but I think having two arrays makes it actually more readable.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Ok, change my mind - it's actually nice

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Adjusted

@jdomeracki-coderjdomeracki-coder marked this pull request as ready for reviewAugust 11, 2025 10:24
@jdomeracki-coderjdomeracki-coder merged commit5d42b18 intomainAug 11, 2025
24 checks passed
@jdomeracki-coderjdomeracki-coder deleted the publish-signatures-fix branchAugust 11, 2025 10:54
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 11, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jdomeracki-coder@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp