mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
ci: continuation of #318
This commit is contained in:
1 parent
31d328faca
commit
ea288b03a0
1 file changed
+2
-1
@@ -99,7 +99,8 @@ while read -r PLUGIN_NAME; do
|
|||||||
|
|
||||||
if [[ -n "$FORCE_COMMIT" || -n "$(git status --porcelain)" ]]; then
|
if [[ -n "$FORCE_COMMIT" || -n "$(git status --porcelain)" ]]; then
|
||||||
echo "Committing to $PLUGIN_NAME"
|
echo "Committing to $PLUGIN_NAME"
|
||||||
if git commit $FORCE_COMMIT --author="${COMMIT_AUTHOR}" -m "${COMMIT_MESSAGE} \n\nCo-authored-by: ${COMMIT_ACTOR}" &&
|
GIT_CLI_COMMIT_MESSAGE=$( printf "%s \n\nCo-authored-by: %s" "$COMMIT_MESSAGE" "$COMMIT_ACTOR" )
|
||||||
|
if git commit $FORCE_COMMIT --author="${COMMIT_AUTHOR}" -m "${GIT_CLI_COMMIT_MESSAGE}" &&
|
||||||
{ [[ -z "$CI" ]] || git push origin "$BRANCH"; } # Only do the actual push from the GitHub Action
|
{ [[ -z "$CI" ]] || git push origin "$BRANCH"; } # Only do the actual push from the GitHub Action
|
||||||
then
|
then
|
||||||
# echo "$BUILD_BASE/changes.diff"
|
# echo "$BUILD_BASE/changes.diff"
|
||||||
|
|||||||
Reference in new issue
Block a user