Sha256: 2df9a9610a32132c552249e4b5ad155c8d9ad4454f975c8fc363b0bc4b91dfe7

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

#!/usr/bin/env bash

set -euo pipefail

git pull --rebase
git push

./bin/sync

git_status=$(git status 2> /dev/null | tr "\\n" " ")

if [[ "$git_status" =~ "nothing to commit" ]]; then
  terminal-notifier \
    -message "No changes detected. Skipping new gem." \
    -ignoreDnD \
    -title "email_data" \
    -group homebrew \
    &> /dev/null
  exit
fi

date "+%s" > VERSION

git add .
git commit -m "Bump up version."
git push
rake release

terminal-notifier \
  -message "Just published a new gem version." \
  -ignoreDnD \
  -title "email_data" \
  -group homebrew \
  &> /dev/null

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_data-1601157215 bin/publish-gem