mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Update makerelease
This commit is contained in:
parent
12f50a5fda
commit
9465e7638f
10
makerelease
10
makerelease
@ -34,12 +34,22 @@ esac
|
|||||||
version=$1
|
version=$1
|
||||||
|
|
||||||
sed -i "/string version = /c\\\tstring version = \"$version\";" src/helpers/help.cpp
|
sed -i "/string version = /c\\\tstring version = \"$version\";" src/helpers/help.cpp
|
||||||
|
IFS='.' read -ra VPART <<< "$version"
|
||||||
|
sed -i "/MAJOR=/cMAJOR=\"${VPART[0]}\"" makefile
|
||||||
|
sed -i "/MINOR=/cMINOR=\"${VPART[1]}\"" makefile
|
||||||
|
sed -i "/MICRO=/cMICRO=\"${VPART[2]}\"" makefile
|
||||||
|
|
||||||
git commit -m "Version $version" src/*
|
git commit -m "Version $version" src/*
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
git checkout master
|
||||||
|
git merge develop
|
||||||
|
|
||||||
git tag -a "v$version" -m "Version $version"
|
git tag -a "v$version" -m "Version $version"
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
|
git checkout $branch
|
||||||
|
|
||||||
#wget https://github.com/MatMoul/g810-led/archive/v$version.zip
|
#wget https://github.com/MatMoul/g810-led/archive/v$version.zip
|
||||||
#wget https://github.com/MatMoul/g810-led/archive/v$version.tar.gz
|
#wget https://github.com/MatMoul/g810-led/archive/v$version.tar.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user