<commit_before>#!/bin/bash

AUTHOR="cmsj"
MODULE="caffeinate"

if [ "$1" == "" ]; then
    echo "Usage: upload.sh VERSION"
    exit 1
fi

VERSION="$1"

luarocks pack mjolnir.${AUTHOR}.${MODULE}
moonrocks upload --skip-pack mjolnir.${AUTHOR}.${MODULE}-${VERSION}.rockspec
moonrocks upload mjolnir.${AUTHOR}.${MODULE}-${VERSION}.all.rock<commit_msg>Get the right arch for the .rock<commit_after>#!/bin/bash

AUTHOR="cmsj"
MODULE="caffeinate"

if [ "$1" == "" ]; then
    echo "Usage: upload.sh VERSION"
    exit 1
fi

VERSION="$1"

luarocks pack mjolnir.${AUTHOR}.${MODULE}
moonrocks upload --skip-pack mjolnir.${AUTHOR}.${MODULE}-${VERSION}.rockspec
moonrocks upload mjolnir.${AUTHOR}.${MODULE}-${VERSION}.macosx-x86_64.rock
{'fraction_non_alphanumeric': 0.19363762102351315, 'fraction_numerical': 0.013831258644536652, 'mean_word_length': 4.983471074380165, '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': '698491', 'n_tokens_mistral': 295, 'n_tokens_neox': 282, 'n_words': 53}