mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed canary build on release commits
- because the Admin submodule has been updated, there aren't any differences that can be committed so we shouldn't do it - this should check if we have uncommitted changes and only commit if so
This commit is contained in:
parent
fb82b7a734
commit
6b8bfb81fc
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
- run: echo "ghost_admin_hash=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||
working-directory: core/client
|
||||
|
||||
- run: git add core/client content/themes/casper && git commit -m "Updated Ghost-Admin and Casper"
|
||||
- run: if [ -n "$(git status --porcelain)" ]; then git add core/client content/themes/casper && git commit -m "Updated Ghost-Admin and Casper"; fi
|
||||
|
||||
- run: npm version preminor --preid="pre.$ghost_hash.$ghost_admin_hash"
|
||||
- run: npm version preminor --preid="pre.$ghost_hash.$ghost_admin_hash"
|
||||
|
|
Loading…
Add table
Reference in a new issue