簡體   English   中英

Atlassian藏匿和部署

[英]Atlassian Stash and Dploy

我有一個問題,我只是想不通,連續研究了幾天,嘗試了許多組合和方法,但似乎無法解決。

我使用Atlassian Stash作為自托管的git cental存儲庫。 https://www.atlassian.com/software/stash

我還使用Dploy通過FTP部署更改。 http://leanmeanfightingmachine.github.io/dploy/

Dploy在.git / hooks /文件夾中創建其自己的提交后鈎子,如下所示:

#!/bin/bash
# DPLOY
message=$(git log -1 --all --pretty=%B)
tag="#dploy"
if [[ "$message" = *"$tag"* ]]; then
    servers=${tag}${message#*${tag}}
    noTag=${servers//#/""}
    eval $noTag
fi

當我從cli顯式執行dploy時,它成功運行並完成。 一切正常。 命令如下:

dploy dev

但是,當我這樣提交時:

commit -m "#dploy dev - Initial commit"

它卡住了(不接受任何鍵盤輸入),我必須按Ctrl + C才能退出。

[ Wed Jun 11 2014  11:58:29  macbook as chris @ ami] git commit -m     "#dploy dev"
Connecting to dev...
Checking revisions...
Checking diffs between [4361308e87183d8dfaf556da3182dd1095f58486] >     [dd70f1cf70957e9e672cd371499fb4183a9d8b3b]
Files that will be uploaded:
[ ? ] .rev > public_html/ami/.rev
[ ? ] test.txt > public_html/ami/test.txt
[ ? ] .rev > public_html/ami/.rev
– Are you sure you want to upload those files? (Y/n) 

這可能是一個非常具體的問題-是否有人經歷過或想出了解決方案?

謝謝克里斯

開發人員提供的修復程序:

https://github.com/LeanMeanFightingMachine/dploy/issues/54

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM