Skip to content

Instantly share code, notes, and snippets.

View ognus's full-sized avatar
🙂

Tomek Kolasa ognus

🙂
View GitHub Profile
@ognus
ognus / gitpr
Created February 22, 2016 10:49
Bash script for auto pushing current git branch and creating a Github PR with JIRA link in description
#!/bin/bash
#
# Usage: gitpr "My PR title"
#
# If branch name follows this convention: anything_JIRAPROJECT-TASKID then link to JIRA
# task is added in PR's description.
#
# This script requires https://hub.github.com/ to be installed.
#
@ognus
ognus / codeship_heroku_with_maintenance_mode.sh
Last active October 12, 2016 08:45 — forked from abinoam/codeship_heroku_with_maintenance_mode.sh
Codeship custom script for Heroku deploying with maintenance mode
#!/bin/sh
# This codeship custom script depends on:
# - API_KEY env var from Heroku
# - STAGING_APP_URL
set -e
export HEROKU_API_KEY="${API_KEY}"