diff options
author | 2022-11-11 07:25:59 +0530 | |
---|---|---|
committer | 2022-11-11 07:25:59 +0530 | |
commit | ecca6ec8f56a7da2e4204b6ad9dab99ab854359c (patch) | |
tree | 37075a68257a73b33341668d439f2852dded3c5f /.github/workflows/builds.yml | |
parent | Update submodules [skip ci] (diff) | |
download | ferdium-app-ecca6ec8f56a7da2e4204b6ad9dab99ab854359c.tar.gz ferdium-app-ecca6ec8f56a7da2e4204b6ad9dab99ab854359c.tar.zst ferdium-app-ecca6ec8f56a7da2e4204b6ad9dab99ab854359c.zip |
Tweak the nightly build for scenario where only the submodules have changes and the main repo doesn't, it should still proceed for a new packaged release
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 4998dcf94..186e06dda 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -75,9 +75,9 @@ jobs: | |||
75 | git push origin develop --no-verify | 75 | git push origin develop --no-verify |
76 | git checkout - | 76 | git checkout - |
77 | 77 | ||
78 | git submodule update --init --recursive --remote --rebase --force | 78 | git rebase develop |
79 | 79 | ||
80 | CHANGES_COUNT=$(git diff --shortstat origin/develop | wc -l) | 80 | CHANGES_COUNT=$(git log @{u}.. | wc -l) |
81 | MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" | 81 | MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" |
82 | VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}" | 82 | VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}" |
83 | # If there were any changes only in the submodules, then... | 83 | # If there were any changes only in the submodules, then... |