<commit_before>image: buildpack-deps:disco-scm

stages:
  - version_dump
  - version_dump_notify
  - release

version_dump:
  stage: version_dump
  only:
    refs:
      - triggers
    variables:
      - $RELEASE

  before_script:
    - git config user.name getto
    - git config user.email <EMAIL>
    - export PATH=$PATH:./bin
  script:
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/version_dump.sh | bash
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/request.sh | bash -s -- ./.release-version-message.sh

version_dump_success:
  stage: version_dump_notify
  only:
    refs:
      - triggers
    variables:
      - $RELEASE
  when: on_success

  image: buildpack-deps:disco-curl

  script:
    - curl https://raw.githubusercontent.com/getto-systems/psycher-getto/master/bin/notify-deploy.sh | bash -s -- -l $GETTO_PSYCHER_URL?$GETTO_PSYCHER_TOKEN=true success

version_dump_failure:
  stage: version_dump_notify
  only:
    refs:
      - triggers
    variables:
      - $RELEASE
  when: on_failure

  image: buildpack-deps:disco-curl

  script:
    - curl https://raw.githubusercontent.com/getto-systems/psycher-getto/master/bin/notify-deploy.sh | bash -s -- -l $GETTO_PSYCHER_URL?$GETTO_PSYCHER_TOKEN=true failure

release:
  stage: release
  only:
    refs:
      - master@getto-systems-base/labo/git/post
    changes:
      - .release-version
  except:
    refs:
      - triggers

  image: buildpack-deps:disco-scm

  script:
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/push_tags.sh | bash<commit_msg>fix: gitlab-ci<commit_after>image: buildpack-deps:disco-scm

stages:
  - version_dump
  - version_dump_notify
  - release

version_dump:
  stage: version_dump
  only:
    refs:
      - triggers
    variables:
      - $RELEASE

  before_script:
    - git config user.name getto
    - git config user.email <EMAIL>
    - export PATH=$PATH:./bin
  script:
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/version_dump.sh | bash
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/request.sh | bash -s -- ./.release-version-message.sh

version_dump_success:
  stage: version_dump_notify
  only:
    refs:
      - triggers
    variables:
      - $RELEASE
  when: on_success

  image: buildpack-deps:disco-curl

  script:
    - curl https://raw.githubusercontent.com/getto-systems/psycher-getto/master/bin/notify-deploy.sh | bash -s -- -l $GETTO_PSYCHER_URL?$GETTO_PSYCHER_TOKEN=true success

version_dump_failure:
  stage: version_dump_notify
  only:
    refs:
      - triggers
    variables:
      - $RELEASE
  when: on_failure

  image: buildpack-deps:disco-curl

  script:
    - curl https://raw.githubusercontent.com/getto-systems/psycher-getto/master/bin/notify-deploy.sh | bash -s -- -l $GETTO_PSYCHER_URL?$GETTO_PSYCHER_TOKEN=true failure

release:
  stage: release
  only:
    refs:
      - master@getto-systems-base/labo/git/post
    changes:
      - .release-version
  except:
    refs:
      - triggers
      - schedules

  image: buildpack-deps:disco-scm

  script:
    - curl https://raw.githubusercontent.com/getto-systems/version-dump/master/bin/push_tags.sh | bash
{'fraction_non_alphanumeric': 0.11499540018399264, 'fraction_numerical': 0.0, 'mean_word_length': 2.8833333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, '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': '1945330', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1143, 'n_words': 183}