Skip to content

Commit 2c3137e

Browse files
authored
chore: [REL-4161] dont bomb out if ssh dir exists (#555)
Homebrew formula was updated successfully! The GHA bombed out on an unrelated (and easily fixed) problem where the `~/.ssh` folder already existed, but we tried to create it. Just need a `-p` there and we should be good to go. I think this may _actually_ be the last one! Note: According to cursor, Goreleaser will either compare the binaries of the homebrew formula and determine that they are identical and skip the release, OR it will overwrite the homebrew formula with the new one (which is really just the same one). So in either case, we should be good to go there. I don't expect any weirdness. The rest of the action is idempotent, but it didn't run yet anyway, so no worries there either. <!-- ld-jira-link --> --- Related Jira issue: [REL-4161: Migrate ld-find-code-refs from Releaser to GHA](https://launchdarkly.atlassian.net/browse/REL-4161) <!-- end-ld-jira-link -->
1 parent d6b3c6a commit 2c3137e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release/publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ source $(dirname $0)/stage-artifacts.sh
66
stage_artifacts publish
77

88
# make bitbucket and github known hosts to push successfully
9-
mkdir -m700 ~/.ssh
9+
mkdir -p ~/.ssh
10+
chmod 700 ~/.ssh
1011
touch ~/.ssh/known_hosts
1112
chmod 644 ~/.ssh/known_hosts
1213
ssh-keyscan -t rsa bitbucket.org >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)