Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/release-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ jobs:
VER="${{ steps.get_version.outputs.VERSION }}"
cp cloc cloc-$VER.pl
cp Unix/NEWS release_notes-$VER.txt
ls -R $GITHUB_WORKSPACE
unzip cloc-$VER-executable.zip

- name: Create GitHub release with assets
uses: softprops/action-gh-release@v2
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* * *
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

Latest release: v3.02 (Feb. 14, 2025)
Latest release: v3.06 (Feb. 14, 2025)

[![Version](https://img.shields.io/badge/version-3.02-blue.svg)](https://github.com/AlDanial/cloc)
[![Version](https://img.shields.io/badge/version-3.06-blue.svg)](https://github.com/AlDanial/cloc)
[![Contributors](https://img.shields.io/github/contributors/AlDanial/cloc.svg)](https://github.com/AlDanial/cloc/graphs/contributors)
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.42029482.svg)](https://doi.org/10.5281/zenodo.42029482)
[![Forks](https://img.shields.io/github/forks/AlDanial/cloc.svg)](https://github.com/AlDanial/cloc/network/members)
Expand Down Expand Up @@ -65,8 +65,8 @@ Step 3: Invoke cloc to count your source files, directories, archives,
or git commits.
The executable name differs depending on whether you use the
development source version (`cloc`), source for a
released version (`cloc-3.02.pl`) or a Windows executable
(`cloc-3.02.exe`).
released version (`cloc-3.06.pl`) or a Windows executable
(`cloc-3.06.exe`).

On this page, `cloc` is the generic term
used to refer to any of these.
Expand Down Expand Up @@ -415,14 +415,14 @@ C:> cpan -i Regexp::Common
C:> cpan -i Algorithm::Diff
C:> cpan -i PAR::Packer
C:> cpan -i Win32::LongPath
C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-3.02.exe cloc-3.02.pl
C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-3.06.exe cloc-3.06.pl
</pre>

A variation on the instructions above is if you installed the portable
version of Strawberry Perl, you will need to run `portableshell.bat` first
to properly set up your environment.

The Windows executable in the Releases section, <tt>cloc-3.02.exe</tt>,
The Windows executable in the Releases section, <tt>cloc-3.06.exe</tt>,
was built on a 64 bit Windows 10 computer using
[Strawberry Perl](http://strawberryperl.com/)
5.30.2 and
Expand All @@ -444,6 +444,9 @@ executable and also check sites such
https://www.virustotal.com/ .
The entries for recent versions are:

cloc-3.06.exe:
https://www.virustotal.com/gui/file/ddfb88cef545c0f2e4df31361a612be2d6d801d79b9edb00f2c267973f2e1177

cloc-3.02.exe:
https://www.virustotal.com/gui/file/293fa6d0b5845e2977836484e95364eecf29fb0ea06d539e41a598714601beeb

Expand Down
17 changes: 17 additions & 0 deletions Unix/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
Release Notes for cloc version 3.06
https://github.com/AlDanial/cloc
Feb. 14, 2025

Body description (release content):
o Can be multiline
o Will update the Unix/NEWS file and every version number accordingly
o Correct formatting and 'VT' upload

Feat:
o New actions

Extra:
o Must have VIRUSTOTALAPIKEY set (https://github.com/AlDanial/cloc/settings/secrets/actions/new)
o Release must have tag "release-ready", either at creation or afterwards, once ready

============================================================================
Release Notes for cloc version 3.02
https://github.com/AlDanial/cloc
Feb. 14, 2025
Expand Down
2 changes: 1 addition & 1 deletion Unix/cloc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# <http://www.gnu.org/licenses/gpl.txt>.
#
# 1}}}
my $VERSION = "3.02"; # odd number == beta; even number == stable
my $VERSION = "3.06"; # odd number == beta; even number == stable
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
require 5.10.0;
# use modules {{{1
Expand Down
2 changes: 1 addition & 1 deletion cloc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# <http://www.gnu.org/licenses/gpl.txt>.
#
# 1}}}
my $VERSION = "3.02"; # odd number == beta; even number == stable
my $VERSION = "3.06"; # odd number == beta; even number == stable
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
require 5.10.0;
# use modules {{{1
Expand Down