mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
15 lines
300 B
Bash
Executable file
15 lines
300 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Update WeKan version at snapcraft.yaml
|
|
|
|
# 1) Check that there is 2 parameters
|
|
# of Wekan version number:
|
|
|
|
if [ $# -ne 2 ]
|
|
then
|
|
echo "Syntax with Wekan version number:"
|
|
echo " ./releases/sed-snapcraft-version.sh 7.10 7.11"
|
|
exit 1
|
|
fi
|
|
|
|
sed -i 's|$1|$2|g' snapcraft.yaml
|