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

Commit308bc62

Browse files
sreyablink-so[bot]
authored andcommitted
dogfood: fix GH CLI version parsing for .deb URL (strip leading v)\n\nCo-authored-by: deansheather <376117+deansheather@users.noreply.github.com>
1 parentceff9a5 commit308bc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎dogfood/coder/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ RUN DOCKER_BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/
223223

224224
# See https://github.com/cli/cli/issues/6175#issuecomment-1235984381 for proof
225225
# the apt repository is unreliable
226-
RUN GH_CLI_VERSION=$(curl -s"https://api.github.com/repos/cli/cli/releases/latest" | grep'"tag_name":' | sed -E's/.*"(v[^"]+)".*/\1/') && \
226+
RUN GH_CLI_VERSION=$(curl -s"https://api.github.com/repos/cli/cli/releases/latest" | grep'"tag_name":' | sed -E's/.*"v([^"]+)".*/\1/') && \
227227
curl -L https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.deb -o gh.deb && \
228228
dpkg -i gh.deb && \
229229
rm gh.deb

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp