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

Add new deploy script #236

Merged
merged 17 commits into from
Nov 27, 2024
Merged

Add new deploy script #236

merged 17 commits into from
Nov 27, 2024

Conversation

mraveux
Copy link
Member

@mraveux mraveux commented Nov 25, 2024

This PR replace the previous release.sh script by a new ./src/deploy.sh script taking care of the release steps for you.

The script is currently untested, thus the PR and not the instant push on master.
Once the script is tested and accepted, the PR will be merged.

Edit:
The script has been tested, and used to deploy the last wallet versions on testnet & mainnet, and seems to work as expected and handle most obvious edge cases.

@mraveux mraveux requested review from sisou and danimoh November 25, 2024 20:17
@mraveux
Copy link
Member Author

mraveux commented Nov 25, 2024

I applied the feedback from @sisou, lemme know if that's better for you ;)

@mraveux mraveux requested a review from sisou November 25, 2024 21:07
@mraveux
Copy link
Member Author

mraveux commented Nov 25, 2024

The script has been tested for release v3.0.11 and seems to work.
I will still add some error handling, in case a command fail so that the script doesn't continue and mess it up.

Except that, the script is considered done, until further feedbacks.

@mraveux
Copy link
Member Author

mraveux commented Nov 26, 2024

Just pushed some error handling.
Script is considered done for now and ready for final review.

Copy link
Member

@danimoh danimoh left a comment

Choose a reason for hiding this comment

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

Very cool, thank you for this 👍
The issues I showed you in CR, I see you already addressed.
Commenting on some additional things, but you don't necessarily need to address them, if you don't want to.

For example “—same-as=testnet —mainnet” will deploy the version already deployed on the testnet to the mainnet
@mraveux mraveux force-pushed the matheo/release-script-update branch from 8985c52 to 493bb28 Compare November 26, 2024 19:49
@mraveux mraveux requested a review from danimoh November 26, 2024 21:18
@mraveux mraveux merged commit c97dd45 into master Nov 27, 2024
1 check passed
@mraveux mraveux deleted the matheo/release-script-update branch November 27, 2024 20:34
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