Skip to content

Instantly share code, notes, and snippets.

View almostearthling's full-sized avatar

Francesco Garosi almostearthling

View GitHub Profile
@almostearthling
almostearthling / autotag.sh
Last active February 1, 2022 23:57
Script to automatically create Git tags on release change
#!/bin/bash
# Automatically create git tags when the version ID in a certain file changes
# (c) 2015-2016 Francesco Garosi
#
# This script helps to automate the creation of git tags when the project
# version info is discovered to have changed: this is normally done extracting
# such version info from a source file. Version information consists of:
#
# * RELEASE_ID: a string containing version number
# * RELEASE_MSG: a short message containing release highlights
@almostearthling
almostearthling / makepkg.sh
Last active December 6, 2015 15:29
Create /opt based packages for When
#!/bin/bash
PKGBASE=when-command-opt
REPOBASE=when-command
VERSION_MARKER=APPLET_VERSION
PROJECTS=~/Projects/Managed
EXECS="$REPOBASE/when-command.py"
sourcedir=$PROJECTS
curdir=`pwd`
curuser=$USER