Skip to content

Commit

Permalink
Get version from changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed May 25, 2022
1 parent 5378087 commit 983adfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ for i in $*; do
echo
done

sed -n 's/VERSION=.* //p' tarb.sh | tr -d \" > build/VERSION
ver="$(head -n1 CHANGELOG | tee build/VERSION)"
sed -i "/^VERSION=/s/=.*/=\"$ver\"/" tarb.sh
exit

0 comments on commit 983adfa

Please sign in to comment.