Skip to content
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

fix(scripts): release script with ssh #1777

Merged
merged 1 commit into from
Jul 18, 2023
Merged

fix(scripts): release script with ssh #1777

merged 1 commit into from
Jul 18, 2023

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

ssh via docker was broken because:

  • ssh wasn't available anymore in the image
  • docker keeps quotes when using the env var, so wrong credentials error 🤷🏻

@shortcuts shortcuts self-assigned this Jul 18, 2023
@shortcuts shortcuts requested a review from a team as a code owner July 18, 2023 12:53
@shortcuts shortcuts requested review from damcou and aallam July 18, 2023 12:53
@netlify
Copy link

netlify bot commented Jul 18, 2023

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 3102ae5
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/64b68bf5f4f82f0008952c97
😎 Deploy Preview https://deploy-preview-1777--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -246,7 +246,7 @@ export function ensureGitHubToken(): string {
if (!process.env.GITHUB_TOKEN) {
throw new Error('Environment variable `GITHUB_TOKEN` does not exist.');
}
return process.env.GITHUB_TOKEN;
return process.env.GITHUB_TOKEN.replaceAll('"', '');
Copy link
Member Author

Choose a reason for hiding this comment

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

I fixed my env var of course but lets keep this in case someone also puts them for strings

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jul 18, 2023

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

nice

@@ -5,7 +5,7 @@
"scripts": {
"cleanGeneratedBranch": "ts-node ci/codegen/cleanGeneratedBranch.ts",
"createMatrix": "ts-node ci/githubActions/createMatrix.ts",
"createReleasePR": "ts-node release/createReleasePR.ts",
"createReleasePR": "NODE_NO_WARNINGS=1 ts-node release/createReleasePR.ts",
Copy link
Collaborator

Choose a reason for hiding this comment

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

when will this be stable ?

Copy link
Member Author

Choose a reason for hiding this comment

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

:( idk

@shortcuts shortcuts changed the title docs: update release process (#1773) fix(scripts): release script with ssh Jul 18, 2023
@shortcuts shortcuts requested a review from millotp July 18, 2023 12:56
@shortcuts
Copy link
Member Author

my rebase was broken, better now, sorry

@shortcuts shortcuts enabled auto-merge (squash) July 18, 2023 13:00
@shortcuts shortcuts merged commit 8997c8a into main Jul 18, 2023
@shortcuts shortcuts deleted the fix/release-ssh branch July 18, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants