Compare commits

...

2 Commits

Author SHA1 Message Date
706339a386 Merge branch 'master' into kd-live 2023-07-03 14:18:20 +09:00
849973c449 서비스 자체 태그도 넘겨줌 2023-07-03 14:18:11 +09:00

View File

@ -43,9 +43,12 @@ func (h *houstonHandler) GetDeploySources(w http.ResponseWriter, r *http.Request
}
getVersions := func(name string) []string {
var out []string
vers, _ := os.ReadDir(path.Join(h.deployPath, name))
mytags, _ := os.ReadFile(path.Join(h.deployPath, name, "@tags"))
out := []string{
string(mytags),
}
for _, fd := range vers {
if fd.IsDir() {
ver := fd.Name()