diff options
author | 2022-07-25 07:05:55 +0530 | |
---|---|---|
committer | 2022-07-25 07:05:55 +0530 | |
commit | 0e736218611107bf157979fadc915cd997b6d427 (patch) | |
tree | 1895983e9f6db815fad973d4270d504a25ab0828 | |
parent | docs: Update README badges [skip-ci] (#512) (diff) | |
download | ferdium-app-0e736218611107bf157979fadc915cd997b6d427.tar.gz ferdium-app-0e736218611107bf157979fadc915cd997b6d427.tar.zst ferdium-app-0e736218611107bf157979fadc915cd997b6d427.zip |
Minor consistency fix [skip ci]
-rw-r--r-- | .github/workflows/builds.yml | 8 | ||||
-rwxr-xr-x | .husky/commit-msg | 2 | ||||
-rwxr-xr-x | .husky/pre-commit | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9e58978c2..6721996d6 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -245,10 +245,10 @@ jobs: | |||
245 | run: npm run lint && npm run test | 245 | run: npm run lint && npm run test |
246 | - name: Build Ferdium without publish for any branch not 'nightly' and not 'release' | 246 | - name: Build Ferdium without publish for any branch not 'nightly' and not 'release' |
247 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} | 247 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} |
248 | run: npm run build -- --publish never | ||
249 | shell: bash | ||
250 | env: | 248 | env: |
251 | CSC_IDENTITY_AUTO_DISCOVERY: false | 249 | CSC_IDENTITY_AUTO_DISCOVERY: false |
250 | run: npm run build -- --publish never | ||
251 | shell: bash | ||
252 | - name: Build Ferdium with publish for 'nightly' branch | 252 | - name: Build Ferdium with publish for 'nightly' branch |
253 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} | 253 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} |
254 | env: | 254 | env: |
@@ -355,10 +355,10 @@ jobs: | |||
355 | shell: bash | 355 | shell: bash |
356 | - name: Build Ferdium without publish for any branch not 'nightly' and not 'release' | 356 | - name: Build Ferdium without publish for any branch not 'nightly' and not 'release' |
357 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} | 357 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} |
358 | run: npm run build -- --publish never | ||
359 | shell: bash | ||
360 | env: | 358 | env: |
361 | CSC_IDENTITY_AUTO_DISCOVERY: false | 359 | CSC_IDENTITY_AUTO_DISCOVERY: false |
360 | run: npm run build -- --publish never | ||
361 | shell: bash | ||
362 | - name: Build Ferdium with publish for 'nightly' branch | 362 | - name: Build Ferdium with publish for 'nightly' branch |
363 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} | 363 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} |
364 | env: | 364 | env: |
diff --git a/.husky/commit-msg b/.husky/commit-msg index 02f50f1de..6ce506d30 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | FILE_NAME="$(dirname "$0")/_/husky.sh" | 3 | FILE_NAME="$(dirname "$0")/_/husky.sh" |
4 | 4 | ||
5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules) | 5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing node modules) |
6 | if [ -f $FILE_NAME ]; then | 6 | if [ -f $FILE_NAME ]; then |
7 | . $FILE_NAME | 7 | . $FILE_NAME |
8 | 8 | ||
diff --git a/.husky/pre-commit b/.husky/pre-commit index 305fe1ebf..4936b8e97 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | FILE_NAME="$(dirname "$0")/_/husky.sh" | 3 | FILE_NAME="$(dirname "$0")/_/husky.sh" |
4 | 4 | ||
5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules) | 5 | # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing node modules) |
6 | if [ -f $FILE_NAME ]; then | 6 | if [ -f $FILE_NAME ]; then |
7 | . $FILE_NAME | 7 | . $FILE_NAME |
8 | npm run prepare-code | 8 | npm run prepare-code |