Sha256: 309c0a6e5bdef2a650166aefd98790d3d492eefcd4ac50a77e955340bfaf002b
Contents?: true
Size: 596 Bytes
Versions: 242
Compression:
Stored size: 596 Bytes
Contents
#!/bin/bash git pull rm -rf academic_data git submodule update --init --recursive cp -R data/lib/domains academic_data current_date=$(date +%Y%m%d) file_path="swot.gemspec" sed -i '' -E "s/(s\.version = \"[0-9\.]+\.)[0-9]{8}/\1$current_date/g" $file_path version_number=$(grep -o -E "s\.version = \"[0-9\.]+$current_date\"" $file_path | grep -o -E "[0-9\.]+$current_date") git add -A . git commit -m "Updated academic list - $current_date" git tag $version_number git push git push --tags gem build swot.gemspec gem push swot-ruby-$version_number.gem --otp $(op item get rubygems.org --otp)
Version data entries
242 entries across 242 versions & 1 rubygems