Take care to only deploy release builds #171
Labels
No labels
bug
ci
design
duplicate
engine
enhancement
formatting
maintenance
prospective
question
regression
stub
test problems
todo
ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
StudioInfinity/dyna3#171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
As of pull request #159, the deployment packaging script just packs up whatever the last build happens to be. This makes it easy to accidentally deploy a development build, since Cargo uses the development profile unless you ask for a different one. Development builds typically run slower, and this sluggishness is very noticeable during realizations—including the ones that happen when you're nudging. We therefore have an interest in ensuring that public-facing builds are done in release mode.
Implementation ideas
trunk buildwithbuild.distset to the deployment folder. This can be done from the command line using the--distoption.Both of these ideas would make the packaging script touch the
targetfolder in addition todeploy(and the quick fix would make it touchdistas well). That doesn't feel like a big deal to me.