Skip to content

Commit 9b5ba26

Browse files
committed
fix syntax
1 parent 1bc9cfa commit 9b5ba26

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/actions/build-tag.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ echo "$GH_PACKAGE"
1414
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} -C spk/${GH_PACKAGE}
1515

1616
# publish to synocommunity.com when the API key is set
17-
if [-n $API_KEY ]; then
17+
if [ -n "${API_KEY}" ]; then
1818
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} publish -C spk/${GH_PACKAGE}
1919
fi

.github/workflows/build.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ jobs:
109109
release:
110110
needs: build
111111
name: Release
112-
## Build a github release on a git tag with the format 'packagename-version'
113-
## But don't make a github release when the PUBLISH_API_KEY is set.
114-
if: startsWith(github.ref, 'refs/tags/') && secrets.PUBLISH_API_KEY == ''
112+
if: startsWith(github.ref, 'refs/tags/')
115113
runs-on: ubuntu-latest
116114
steps:
117115
- name: Download build artifacts

0 commit comments

Comments
 (0)