iya-sts
    Preparing search index...

    Function stamp

    • Computes a version record, marks it stamped and writes it as version.json into a directory, so it ships with the artifact.

      A failure to write is logged, not thrown.

      Parameters

      • dir: any

        the directory to write into, created if missing

      Returns {
          build: string;
          builtAt: string;
          commit: any;
          major: any;
          minor: any;
          stamped: boolean;
          version: string;
      }

      the record written