File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # A script for creating release packages. The release packages are create in the home directory.
3+ # A script for creating release packages. The release packages are created in the home directory.
44#
55# Create release candidate
66# ========================
4343# Generate lib/checkers.cpp: (TODO the premium checkers should not be statically coded)
4444# cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
4545#
46- # Update copyright year TODO release script:
47- # git diff $PREV -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-2022 /'
46+ # Update copyright year: TODO release script
47+ # git diff $PREV -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-$(date +%Y) /'
4848# git diff | grep '^diff --git a/'
4949#
5050# Make sure "cppcheck --errorlist" works:
9797# Create a release folder on sourceforge:
9898# https://sourceforge.net/projects/cppcheck/files/cppcheck/
9999#
100- # git tag $VERSION ; git push --tags
100+ # git tag $VERSION && git push --tags
101101# ./createrelease $VERSION
102102#
103103# Copy msi from release-windows, install and test cppcheck
You can’t perform that action at this time.
0 commit comments