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

Run bundle in demo directory during release script #966

Merged
merged 2 commits into from
Jan 11, 2022

Conversation

pouretrebelle
Copy link
Member

Follow-up from #925, this functionality was broken because the cwd is reset between runs. I've experienced this a few times locally and it was also flagged in #964.

Can be tested locally by commenting out all the other steps in the file and running script/release - this will update the version in Gemfile.lock to 0.0.66.

This will update the primer_view_components version in demo/Gemfile.lock
during the release script.

This wasn't working before because Thor resets the cwd between for each
run command. I couldn't find a way to stop that but running it on one
line works.
@pouretrebelle pouretrebelle requested review from a team and manuelpuyol January 6, 2022 15:35
@vercel
Copy link

vercel bot commented Jan 6, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/view-components/6pYc8B4ZLbBVHYcYrewt8z36pNUL
✅ Preview: https://view-components-git-pouretrebelle-fix-release-scr-c8a8c4-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview January 11, 2022 11:17 Inactive
@pouretrebelle pouretrebelle enabled auto-merge (squash) January 11, 2022 11:17
@pouretrebelle pouretrebelle merged commit 2ed8394 into main Jan 11, 2022
@pouretrebelle pouretrebelle deleted the pouretrebelle/fix-release-script-gemlock branch January 11, 2022 11: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.

None yet

2 participants