Packaging bash scripts with an orb

in a more traditional workflow, one can have steps that run relative bash scripts, ie:

steps:
  - checkout
  - run:
      command: |
        .circleci/install_tools.sh
        .circleci/release.sh

I’m wondering if there’s a way to package the .sh scripts with the Orb, so that different users of the orb get the same functionality that’s in the scripts.

There is no way to package up the bash scripts, but you could write them in-line within the orb itself.

This would make the orb code look a bit messy, but it would be transparent to the user of that orb.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.