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

create_pr_package: Unique names per build #1477

Merged
merged 3 commits into from
Nov 19, 2020

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Nov 13, 2020

I've included the sha-1 of the commit in the filename to make it more deterministic what package (code) you install and deploy. There is still only one comment from the bot with the filenames. Each time a new commit comes on on the PR the comment is updated. You can always see past comments (with the old filenames) by using the dropdown on the comment, see screenshot. The screenshot also shows that the first 7 characters of the commit sha-1 are included in the package filenames

/cc @jeliasson

image

@Tobbe Tobbe force-pushed the tobbe-pr-package-unique-name branch from 2f784f0 to 5a58b1b Compare November 13, 2020 21:07
@peterp
Copy link
Contributor

peterp commented Nov 17, 2020

Nice, I think eventually we should try to make these easier to install via a CLI, and then we can just tell people to run the command:

yarn rwt test pr-1477

Or something :)

@Tobbe
Copy link
Member Author

Tobbe commented Nov 17, 2020

Yes, cli support for this would be awesome.

Is there anything else/more you want me to do for this PR though, before it can be merged?

@peterp
Copy link
Contributor

peterp commented Nov 19, 2020

@Tobbe Nope, sorry, ship it!

@Tobbe Tobbe force-pushed the tobbe-pr-package-unique-name branch from 5a58b1b to a410bd3 Compare November 19, 2020 20:06
@Tobbe Tobbe force-pushed the tobbe-pr-package-unique-name branch from a410bd3 to a274503 Compare November 19, 2020 20:07
@thedavidprice thedavidprice merged commit acb4ecf into redwoodjs:main Nov 19, 2020
@thedavidprice thedavidprice added this to the Next release milestone Nov 19, 2020
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