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

Version Path
swot-ruby-1.0.5.20241121 release.sh
swot-ruby-1.0.5.20241118 release.sh
swot-ruby-1.0.5.20241115 release.sh
swot-ruby-1.0.5.20241113 release.sh
swot-ruby-1.0.5.20241112 release.sh
swot-ruby-1.0.5.20241104 release.sh
swot-ruby-1.0.5.20241101 release.sh
swot-ruby-1.0.5.20241031 release.sh
swot-ruby-1.0.5.20241026 release.sh
swot-ruby-1.0.5.20241023 release.sh
swot-ruby-1.0.5.20241022 release.sh
swot-ruby-1.0.5.20241018 release.sh
swot-ruby-1.0.5.20241016 release.sh
swot-ruby-1.0.5.20241015 release.sh
swot-ruby-1.0.5.20241014 release.sh
swot-ruby-1.0.5.20241012 release.sh
swot-ruby-1.0.5.20241010 release.sh
swot-ruby-1.0.5.20241008 release.sh
swot-ruby-1.0.5.20241006 release.sh
swot-ruby-1.0.5.20241004 release.sh