Page Menu
Home
Search
Configure Global Search
Log In
Files
F14209187
update_version.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
313 B
Subscribers
None
update_version.sh
View Options
#!/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 commit and tag:"
echo
git commit -m
\'
Bumped version to
$1
\'
main.go
echo
git tag -a v
$1
-m
\'
Tagged version
$1
\'
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Jan 31, 2:19 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/6f/984bd53d4af0dd6508e3a433c75b
Attached To
rFM Flamenco Manager
Event Timeline
Log In to Comment