mirror of
https://github.com/tummychow/git-absorb
synced 2024-11-10 06:14:18 +00:00
use [[ for matching target
Regex match =~ doesn't work with [
This commit is contained in:
parent
e64a5607ad
commit
55de499f7c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -134,7 +134,7 @@ jobs:
|
|||
cp {README.md,LICENSE.md} "$staging/"
|
||||
cp Documentation/{git-absorb.1,git-absorb.txt} "$staging/doc/"
|
||||
|
||||
if [ "${{ matrix.target }}" =~ .*windows.* ]; then
|
||||
if [[ "${{ matrix.target }}" =~ .*windows.* ]]; then
|
||||
cp "target/${{ matrix.target }}/release/git-absorb.exe" "$staging/"
|
||||
7z a "$staging.zip" "$staging"
|
||||
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue