Skip to content

Predeploy hooks not run when deploying individual functions #6021

@sam-throne

Description

@sam-throne

[REQUIRED] Environment info

firebase-tools: From HEAD

Platform: macOS

[REQUIRED] Test case

"functions": [
  {
    "predeploy": "echo PREDEPLOY",
    "source": "build",
  },
]

[REQUIRED] Steps to reproduce

firebase deploy --only functions:myFunction

[REQUIRED] Expected behavior

It should print PREDEPLOY

[REQUIRED] Actual behavior

Nothing is printed

This is a regression introduced by #6011

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions