Skip to content

Commit

Permalink
v4.1.3
Browse files Browse the repository at this point in the history
=====================================================================

--- Bug Fixes ----------------------------

- added one more protection against sneaky BSD utils (fixes #1)

--- Changes ------------------------------

- added a GH action to automatically create release binaries
- added SCWRYPTS_ROOT when installed from aur package build
  • Loading branch information
wrynegade committed Mar 12, 2024
1 parent 4ccb79f commit 768bd14
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/automatic-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Automatic Tag-release

on: # yamllint disable-line rule:truthy
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'

jobs:
automatic-tag-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
3 changes: 3 additions & 0 deletions zsh/lib/config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
[ ! $SCWRYPTS_ROOT ] \
&& SCWRYPTS_ROOT="$(cd $(dirname "${0:a:h}"); git rev-parse --show-toplevel)"

[ ! $SCWRYPTS_ROOT ] && [ -d /usr/share/scwrypts ] \
&& SCWRYPTS_ROOT=/usr/share/scwrypts

#####################################################################

DEFAULT_CONFIG="$SCWRYPTS_ROOT/zsh/lib/config.user.zsh"
Expand Down
2 changes: 1 addition & 1 deletion zsh/lib/utils/dependencies.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ __CHECK_COREUTILS() {
do
__CHECK_DEPENDENCY $UTIL || { ((MISSING_DEPENDENCY_COUNT+=1)); continue; }

$UTIL --version 2>&1 | grep -q 'GNU' || {
$UTIL --version 2>&1 | grep 'GNU' | grep -qv 'BSD' || {
WARNING "non-GNU version of $UTIL detected"
((NON_GNU_DEPENDENCY_COUNT+=1))
}
Expand Down

0 comments on commit 768bd14

Please sign in to comment.