Skip to content

Commit cd94deb

Browse files
committed
fix wrong filehost upload
1 parent 968f4a7 commit cd94deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/macos-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
env:
4747
FH_API_KEY: ${{ secrets.FH_API_KEY }}
4848
run: |
49-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
49+
if [[ "${{ github.ref }}" == "refs/heads/development" ]]; then
5050
python3 filehost-upload -i 7d96641c-b306-49cf-80ff-ea1e5d00c9d1 -a addversion -V ${{ env.adjusted_run_number }} -I "`git log -1 --pretty=tformat:'dev@%h: %s'`" m65tools-*-macos.7z
51-
elif [[ "${{ github.ref }}" == "refs/heads/development" ]]; then
51+
elif [[ "${{ github.ref }}" =~ ^refs/heads/release-.+$ ]]; then
5252
python3 filehost-upload -i 0dee985e-5bc1-404b-adb0-fc7989aef346 -a addversion -V ${{ env.adjusted_run_number }} -I "`git log -1 --pretty=tformat:'reltemp@%h: %s'`" m65tools-*-macos.7z
5353
fi
5454

0 commit comments

Comments
 (0)