File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,11 @@ public static ProjectAlias Create(Model.Project.Project project) {
26
26
var alias = PrepareAlias ( project . name ) ;
27
27
28
28
var creator = project . Creator ( ) ;
29
- var owner = creator != null ?
30
- PrepareAlias ( creator . login ) : PrepareAlias ( project . Repository ( ) . GithubRepo ( ) . Owner . Login ) ;
29
+
30
+ var owner = creator != null ? PrepareAlias ( creator . login ) : "_" ;
31
+ #if ! DEBUG
32
+ if ( creator == null ) owner = PrepareAlias ( project . Repository ( ) . GithubRepo ( ) . Owner . Login ) ;
33
+ #endif
31
34
32
35
var newAlias = alias ;
33
36
var postfix = 0 ;
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ docker build -t registry.gitlab.com/mxss/gitcom-api/gitcom-backend:"$1" -f docke
10
10
echo " Pushing image to registy"
11
11
docker push registry.gitlab.com/mxss/gitcom-api/gitcom-backend:" $1 "
12
12
13
- echo " Done. version $1 is built and pushed."
13
+ echo " Done. version $1 is built and pushed."
You can’t perform that action at this time.
0 commit comments