Skip to content

Commit

Permalink
Respect experimental entrypoint on release commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed May 17, 2023
1 parent 019ef68 commit 64d2a1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/appconfig/machines.go
Expand Up @@ -41,6 +41,10 @@ func (c *Config) ToReleaseMachineConfig() (*api.MachineConfig, error) {
Env: lo.Assign(c.Env),
}

if c.Experimental != nil {
mConfig.Init.Entrypoint = c.Experimental.Entrypoint
}

mConfig.Env["RELEASE_COMMAND"] = "1"
mConfig.Env["FLY_PROCESS_GROUP"] = api.MachineProcessGroupFlyAppReleaseCommand
if c.PrimaryRegion != "" {
Expand Down

0 comments on commit 64d2a1f

Please sign in to comment.