Page MenuHome

update_version.sh
No OneTemporary

update_version.sh

#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 new-version" >&2
exit 1
fi
sed "s/FLAMENCO_VERSION = \"[^\"]*\"/FLAMENCO_VERSION = \"$1\"/" -i main.go
git diff
echo
echo "Don't forget to tag and commit!"

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Oct 2, 2:09 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/d8/f0bf2d2a16730ed1c073e3a81fc7

Event Timeline