1.sh:
#!/bin/sh
set -eux
rm -rf rubygems bundler
git clone https://github.com/rubygems/rubygems
git clone https://github.com/rubygems/bundler| #! /bin/sh | |
| # Original https://gist.github.com/brutella/0bcd671a9e4f63edc12e | |
| function print_example() { | |
| echo "Example" | |
| echo " icons ios ~/AppIcon.pdf ~/Icons/" | |
| } | |
| function print_usage() { |
| #!/usr/bin/env zsh | |
| git show-branch -a \ | |
| | grep '\*' \ | |
| | grep -v `git rev-parse --abbrev-ref HEAD` \ | |
| | head -n1 \ | |
| | sed 's/.*\[\(.*\)\].*/\1/' \ | |
| | sed 's/[\^~].*//' | |
| # How it works: |
| #!/bin/bash -- | |
| csvfile=$(mktemp) | |
| # get pwd to trim it from output | |
| pwd=$(pwd) | |
| pwdlen=${#pwd} | |
| #get swifty | |
| swiftlint lint --reporter csv > $csvfile |
| # batch delete remote tags | |
| git push origin --delete (git tag -l "builds/iosbeta/*") | |
| # Delete local tags | |
| git tag --delete (git tag -l "builds/iosbeta/*") |
I hereby claim:
To claim this, I am signing this object: