<commit_before>box: golang
build:
  steps:
    - setup-go-workspace
    - golint:
      exclude: "vendor"
    - script:
        name: go get
        code: |
            go get -t ./...
    - script:
        name: test
        code: |
          make test
    - script:
        name: Publish Coveralls
        code: goveralls -service="wercker.com" -coverprofile=profile.cov -repotoken $COVERALLS_TOKEN
    - script:
        name: build
        code: |
          make bin
    - script:
        name: package
        code: |
          apt-get update && apt-get install -y zip
          make package
    - script:
        name: publish artifacts
        code: |
          if [ -d "$WERCKER_CACHE_DIR/dist" ]; then rm -rf $WERCKER_CACHE_DIR/dist; fi
          cp -r dist $WERCKER_CACHE_DIR/dist
deploy:
  steps:
    - tcnksm/ghr:
        token: $GITHUB_TOKEN
        version: $RELEASE_VERSION
        input: dist
        replace: $RELEASE_IS_DRAFT
        pre-release: $RELEASE_IS_DRAFT<commit_msg>chore(build): pull from $WERCKER_CACHE_DIR/dist on deploy<commit_after>box: golang
build:
  steps:
    - setup-go-workspace
    - golint:
      exclude: "vendor"
    - script:
        name: go get
        code: |
            go get -t ./...
    - script:
        name: test
        code: |
          make test
    - script:
        name: Publish Coveralls
        code: goveralls -service="wercker.com" -coverprofile=profile.cov -repotoken $COVERALLS_TOKEN
    - script:
        name: build
        code: |
          make bin
    - script:
        name: package
        code: |
          apt-get update && apt-get install -y zip
          make package
    - script:
        name: publish artifacts
        code: |
          if [ -d "$WERCKER_CACHE_DIR/dist" ]; then rm -rf $WERCKER_CACHE_DIR/dist; fi
          cp -r dist $WERCKER_CACHE_DIR/dist
          ls -larth $WERCKER_CACHE_DIR/dist
deploy:
  steps:
    - tcnksm/ghr:
        token: $GITHUB_TOKEN
        version: $RELEASE_VERSION
        input: $WERCKER_CACHE_DIR/dist
        replace: $RELEASE_IS_DRAFT
        pre-release: $RELEASE_IS_DRAFT
{'fraction_non_alphanumeric': 0.09460105112279026, 'fraction_numerical': 0.0, 'mean_word_length': 1.6472819216182049, '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': '3247657', 'n_tokens_mistral': 681, 'n_tokens_neox': 684, 'n_words': 167}