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

Bringing back the git rev hash to Cargo.toml of each project #234

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

anupsdf
Copy link
Contributor

@anupsdf anupsdf commented Apr 25, 2023

What

Bringing back the git rev hash to Cargo.toml of each project

Why

This was unintentionally removed with PR 232 when moving away from workspace (with each example being a member project) to individual sub directory projects without top level workspace.

Scripts used

  1. Search and replace
find . -maxdepth 3 -type f -name Cargo.toml | xargs sed -i'' -e 's/version = "0.7.0"/version = "0.7.0", git = "https:\/\/github.com\/stellar\/rs-soroban-sdk", rev = "29b505cf95f2fd4fbe639fdb163b606c44920837"/g'
  1. Add to git
find . -maxdepth 3 -type f -name Cargo.toml | xargs git add 
  1. Clean up backup from sed command
git clean -f -x *
  1. Commit and push,
git commit -m "Bringing back the git rev hash to Cargo.toml of each project"
git push

@anupsdf anupsdf requested review from sisuresh and dmkozh April 25, 2023 00:49
@sisuresh sisuresh enabled auto-merge (squash) April 25, 2023 00:55
@sisuresh sisuresh merged commit 166ba1c into stellar:main Apr 25, 2023
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