forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createrelease: restore Makefile debug mode immediately after the tag.…
… build local release binary.
- Loading branch information
Showing
1 changed file
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
# | ||
# | ||
|
@@ -86,6 +86,8 @@ set -e | |
|
||
cd ~/cppcheck | ||
|
||
git checkout $tag | ||
|
||
mkdir -p upload | ||
|
||
make clean | ||
|
@@ -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 |