Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Hieu Rocker rockerhieu

I may be slow to respond.
Block or report user

Report or block rockerhieu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rockerhieu /
Last active Jan 6, 2017
Generate release notes from git history
if [ -n "$CIRCLE_COMPARE_URL" ]; then
git log --reverse `echo $CIRCLE_COMPARE_URL | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\1/' | sed 's/^.*\/\([^/]*\)$/\1/'` --pretty=format:"%s" | sed '/^Merge .*$/d'
if [ -n "$SHIPPABLE_COMMIT_RANGE" ]; then
git log --reverse `echo $SHIPPABLE_COMMIT_RANGE | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\1/'`..`echo $SHIPPABLE_COMMIT_RANGE | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\2/'` --pretty=format:"%s" | sed '/^Merge .*$/d'
rockerhieu / build.gradle
Last active Aug 29, 2015
Integrate Corona with Gradle
View build.gradle
android.applicationVariants.all { variant ->
def variantBuildTypeName =
def buildType =
def output = null
project.("pre" + variantBuildTypeName + "Build") {
println "Corona: compiling..."
output = "${projectDir}/ ${CORONA_ENTERPRISE_PATH} ${projectDir} ${buildType}".execute()
println "${output.getInputStream().text}"
println "Corona: compiled!"
You can’t perform that action at this time.