summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Jung <tummychow511@gmail.com>2023-04-12 17:06:00 -0400
committerGitHub <noreply@github.com>2023-04-12 17:06:00 -0400
commitb17b4e744c0184def96ba2ddb67074b27092ce69 (patch)
tree3f20f292c3259f8735c0d47fefc28dee46c47f03
parente64a5607adb2d99324b869aa2f6080f9ebf07cd4 (diff)
parent55de499f7cdc384a4f4897db47e924ed8a3f56f5 (diff)
Merge pull request #84 from theaquamarine/target
Fix conditional in release.yml
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 415f77d..7010d8d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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