Sha256: e56050887bdfcf7cfaae4930f74142111a3b0e5336847c98ad48960f9000a810

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

#!/usr/bin/env bash

PATH="./bin:$PATH"

echo "=> Fetching latest jq"
wget -O bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod +x bin/jq
which jq
jq --version

echo ./bin/sync
./bin/export-json-files

echo "=> Updating version files"
version=$(date "+%s")
package_json=$(cat package.json | jq --arg version "${version}.0.0" '.version = $version')
echo $package_json | jq > package.json
sed -i -E "s/[0-9]+/$version/" ./lib/email_data/version.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_data-1607321830 bin/package