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/version='[^']*'/version='$1'/" -i packages/flamenco/setup.py
sed "s/version='[^']*'/version='$1'/" -i packages/flamenco-worker-python/setup.py
sed "s/FLAMENCO_VERSION = \"[^\"]*\"/FLAMENCO_VERSION = \"$1\"/" -i packages/flamenco-manager-go/src/flamenco-manager/main.go
git diff
echo
echo "Don't forget to tag and commit!"

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Oct 30, 11:22 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c6/97/6ff49eb2fde58d9da248b7f4f44e

Event Timeline