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

(feature) --deployment-id option to add string suffix to the release directory name #22

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

katjacresanti
Copy link
Contributor

What

Adds a flag, --deployment-id, which the user can optionally pass a string to. This (unique) string will be appended to the name of the release directory.

This is technically a feature, but it also fixes a bug where force-redeploying over the current SHA causes unicorn to error by creating unique directory names.

@katjacresanti katjacresanti self-assigned this Sep 5, 2024
@katjacresanti katjacresanti changed the title (feature) add --deployment-id option to add a string suffix to the release directory (feature) --deployment-id option to add string suffix to the release directory name Sep 5, 2024
@katjacresanti katjacresanti requested a review from a team September 5, 2024 22:56
@@ -74,4 +77,4 @@ def atomic_symlink(src, dest)
File.rename(tmp, dest)
end
end
end
end
Copy link
Contributor

Choose a reason for hiding this comment

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

needs newline

Copy link
Contributor

@amancevice amancevice left a comment

Choose a reason for hiding this comment

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

needs newline but other than that looks good.

@katjacresanti katjacresanti merged commit 6871e42 into main Sep 9, 2024
8 checks passed
@katjacresanti katjacresanti deleted the release-directory-suffix-option branch September 9, 2024 16:27
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.

2 participants