Skip to content

fix(java): delete tag before release #1370

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

Merged
merged 3 commits into from
Mar 3, 2023
Merged

fix(java): delete tag before release #1370

merged 3 commits into from
Mar 3, 2023

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Mar 3, 2023

🧭 What and Why

Refacto some functions to put them in the right common file and avoid importing between folders.

Fix the java release by deleting the tag before the release

@millotp millotp requested a review from a team as a code owner March 3, 2023 09:24
@millotp millotp self-assigned this Mar 3, 2023
@millotp millotp requested review from morganleroi and Fluf22 March 3, 2023 09:24
@netlify
Copy link

netlify bot commented Mar 3, 2023

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit dad7020
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6401c2951b9bce00086fda2d
😎 Deploy Preview https://deploy-preview-1370--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 settings.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Mar 3, 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.

shortcuts
shortcuts previously approved these changes Mar 3, 2023
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

GG!

@@ -154,6 +151,7 @@ async function spreadGeneration(): Promise<void> {
`Processing release commit, creating new release tag ('${version}') for '${lang}' repository.`
);

await run(`git tag -d ${version}`, { cwd: tempGitDir });
Copy link
Member

Choose a reason for hiding this comment

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

have you checking locally that deleting a non existing tag doesn't exit 1?

@@ -459,6 +460,9 @@ async function createReleasePR(): Promise<void> {
await run(`CI=false git commit -m "${commitMessage}"`);
}

// cleanup all the changes to the generated files (the ones not commited because of the pre-commit hook)
await run(`git checkout .`);
Copy link
Member

Choose a reason for hiding this comment

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

noice

@millotp millotp enabled auto-merge (squash) March 3, 2023 09:51
@millotp millotp merged commit d457b77 into main Mar 3, 2023
@millotp millotp deleted the fix/java-release branch March 3, 2023 09:59
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