<commit_before>---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: busybox
    tag: '1.26.2'

inputs:
- name: my-product
- name: version

outputs:
- name: built-artifact

run:
  path: sh
  args:
  - -exc
  - |
    whoami
    env
    ls
    ls my-product
    ls version
    ls built-artifact
    cat version/number
    cat version/version
    VERSION=$(cat version/version)
    #
    touch built-artifact/my-product-$VERSION.tgz
    #
    ls built-artifact<commit_msg>update ci/promote-to-final.yml<commit_after>---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: busybox
    tag: '1.26.2'

inputs:
- name: my-product
- name: version

outputs:
- name: built-product

run:
  path: sh
  args:
  - -exc
  - |
    whoami
    env
    ls
    ls my-product
    ls version
    ls built-product
    cat version/number
    cat version/version
    VERSION=$(cat version/version)
    #
    touch built-product/my-product-$VERSION.tgz
    #
    ls built-product
{'fraction_non_alphanumeric': 0.10682492581602374, 'fraction_numerical': 0.00791295746785361, 'mean_word_length': 2.2857142857142856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5594466', 'n_tokens_mistral': 374, 'n_tokens_neox': 348, 'n_words': 86}