Skip to content

Commit

Permalink
createrelease: restore Makefile debug mode immediately after the tag.…
Browse files Browse the repository at this point in the history
… build local release binary.
  • Loading branch information
danmar committed Jul 4, 2021
1 parent 672d5dc commit 0806c8e
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions createrelease
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@
# git tag 1.43
# git push --tags
#
# Restore the Makefile:
# make dmake && ./dmake
# git commit -a -m "Makefile: Set debug mode"
#
# Create a release folder on sourceforge:
# https://sourceforge.net/projects/cppcheck/files/cppcheck/
#
# Create release:
# ./createrelease 1.43
#
# Restore the Makefile:
# make dmake && ./dmake
# git commit -a -m "Makefile: Set debug mode"
#

# Update download link on index.php main page
#
#
Expand Down Expand Up @@ -86,6 +86,8 @@ set -e

cd ~/cppcheck

git checkout $tag

mkdir -p upload

make clean
Expand All @@ -109,3 +111,14 @@ scp * danielmarjamaki,[email protected]:htdocs/
cd ~/cppcheck
rm -rf upload

# Local cppcheck binary
mkdir -p ~/.cppcheck/$tag
cd ~/.cppcheck/$tag
cp -R ~/cppcheck/cfg .
cp -R ~/cppcheck/addons .
cp -R ~/cppcheck/platforms .
cd ~/cppcheck
make clean ; make -j4 FILESDIR=~/.cppcheck/2.5 MATCHCOMPILER=yes USE_Z3=yes
mv cppcheck ~/.cppcheck/cppcheck-$tag

git checkout main

0 comments on commit 0806c8e

Please sign in to comment.