Skip to content

Commit 2515aa0

Browse files
author
William Jakobsson
committed
improvements [skip ci]
1 parent b99e9dc commit 2515aa0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

createrelease

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
# ========================
@@ -43,8 +43,8 @@
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:
@@ -97,7 +97,7 @@
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

0 commit comments

Comments
 (0)