aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/update.go
diff options
context:
space:
mode:
authorAntonio Facciolo <antonio.facciolo@ad-notam.com>2016-11-30 17:27:39 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-05 12:25:45 +0100
commit947d2ee21b63404d19e835f275f85926be2f7f0a (patch)
treec2d2153890bce884c84ee0e423c994b32d068a56 /cmd/update.go
parentd07c955e2a6359937ecff458d450e328861da5e6 (diff)
downloadgitea-947d2ee21b63404d19e835f275f85926be2f7f0a.tar.gz
gitea-947d2ee21b63404d19e835f275f85926be2f7f0a.zip
Fixes #316
Export Pusher name as GITEA_PUSHER_NAME env variable Export also GITEA_UUID, but keep the uuid env variable for backward compatibility export pusher name ENV variable #316 change env variable prefix to GITEA_ Signed-off-by: Antonio Facciolo <afdev82@gmail.com> Export also GITEA_UUID #316 Keep uuid env variable for backward compatibility
Diffstat (limited to 'cmd/update.go')
-rw-r--r--cmd/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/update.go b/cmd/update.go
index df20c223e9..4bbab9a3af 100644
--- a/cmd/update.go
+++ b/cmd/update.go
@@ -49,7 +49,7 @@ func runUpdate(c *cli.Context) error {
}
task := models.UpdateTask{
- UUID: os.Getenv("uuid"),
+ UUID: os.Getenv("GITEA_UUID"),
RefName: args[0],
OldCommitID: args[1],
NewCommitID: args[2],