Skip to content

Commit

Permalink
🎉 Bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahElliott committed Feb 2, 2025
1 parent e729228 commit 90281fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .capt/share.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pre_commit=(
# redundant with markdownlint but for testing filters etc
# 'doclint(md|mkd): mdl $CAPT_FILES_CHANGED ## check markdown for violations'
mdlint
'sleeper: sleep 0'
fixcheck
# -markdownlint
'wscheck(md|sh)'
Expand Down
2 changes: 1 addition & 1 deletion bin/capt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
GITARG1=$argv[2] GITARG2=$argv[3] GITARG3=$argv[4]
# print all args: $@

captversion=v2025.01.09
captversion=v2025.02.02
if [[ $@[1] == 'version' || $@[1] == '--version' || $@[1] == '-v' ]]; then print "capt $captversion"; exit; fi

captdir=${CAPT_DIR-.capt}
Expand Down
5 changes: 5 additions & 0 deletions bin/wscheck
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
allok=true
nlcheck() {
filename=$1
ftype=$( file -b --mime-type $filename | sed 's|/.*||' )
if [[ $ftype != 'text' ]]
then "Not operating on non-text file"
exit
fi
if [[ ! -s "$filename" ]]
then echo "ERROR: $filename is empty"
unset allok
Expand Down

0 comments on commit 90281fb

Please sign in to comment.