Sha256: aab9e68b1f021b4709cb6502b07ad383b058dbe25e5a91f66d1ee688e6bce258

Contents?: true

Size: 633 Bytes

Versions: 1

Compression:

Stored size: 633 Bytes

Contents

#!/usr/bin/env bash

set -e

source $HOME/.zsh/exports.sh
source $HOME/.zsh/asdf.sh

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-1601158120 bin/publish-gem