diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2019-08-06 18:11:29 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2019-08-08 14:19:38 +0300 |
commit | 06e1221d1aa8d7a1d36b757851be42c0295b1d91 (patch) | |
tree | 1f00b9b3fa5b059be69eaed985f15f81d917f031 /Makefile.am | |
parent | 15a30491aa75a22bc0d44d909a34fadc262cba62 (diff) |
.......... [DEV-1166] implementation of version package
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index be9da54aca1..1a0384f8925 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,9 @@ dist-hook: $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java.new; \ mv $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java.new \ $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java; \ + cat $(top_distdir)/go/src/zabbix/pkg/version/version.go|sed "s/{ZABBIX_RC_NUM}/$$branch$$type_num$$type_count/g"| \ + sed "s/{ZABBIX_REVISION}/$$zabbix_revision/g" > $(top_distdir)/go/src/zabbix/pkg/version/version.go.new; \ + mv $(top_distdir)/go/src/zabbix/pkg/version/version.go.new $(top_distdir)/go/src/zabbix/pkg/version/version.go; \ rm -f $(top_distdir)/conf_tests.m4 rm -rf `find $(top_distdir) -name ".gitignore" -o -name ".gitattributes"` |