Skip to content

Instantly share code, notes, and snippets.

Matthew Adams matthewadams

Block or report user

Report or block matthewadams

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
@matthewadams
matthewadams / release-docker-image-on-codefresh.sh
Created Aug 13, 2018
release-docker-image-on-codefresh.sh
View release-docker-image-on-codefresh.sh
#!/usr/bin/env bash
# This script implements the release branch workflow for docker images built by codefresh.io.
#
# Requirements:
# git
# docker
# TODO: port this from bash to plain ol' sh (regex matching needs to be ported)
@matthewadams
matthewadams / release-helm-chart.sh
Last active Aug 14, 2018
release-helm-chart.sh
View release-helm-chart.sh
#!/usr/bin/env bash
# This script implements the release branch workflow for helm charts.
#
# Requirements:
# git
# docker
# TODO: port this from bash to plain ol' sh (regex matching needs to be ported)
@matthewadams
matthewadams / npm-update.sh
Created Dec 28, 2018
Update all npm packages to their latest versions
View npm-update.sh
#!/usr/bin/env bash
NPM_UPDATE_DEFAULT_PACKAGE_FILE=package.json
NPM_UPDATE_PACKAGE_FILE=$NPM_UPDATE_DEFAULT_PACKAGE_FILE
usage() {
cat<<EOF
Update outdated npm packages to the latest available
$(basename "$0")
You can’t perform that action at this time.