Commit 4078ca33cc467d3d3a72df23832466ccf59dabab

Authored by Lucas Kanashiro
1 parent 38e27f4e

Use unified version, start to use 'make release'

Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Signed-off-by: Athos Ribeiro <athoscribeiro@gmail.com>
src/colab-spb-plugin/setup.py
@@ -15,7 +15,7 @@ version = open(&#39;VERSION&#39;).read().strip() @@ -15,7 +15,7 @@ version = open(&#39;VERSION&#39;).read().strip()
15 15
16 setup( 16 setup(
17 name='colab-spb-plugin', 17 name='colab-spb-plugin',
18 - version='0.2.6', 18 + version=version,
19 author='Macartur Sousa', 19 author='Macartur Sousa',
20 author_email='macartur.sc@gmail.com', 20 author_email='macartur.sc@gmail.com',
21 url='https://portal.softwarepublico.gov.br/gitlab/softwarepublico/colab-spb-plugin/', 21 url='https://portal.softwarepublico.gov.br/gitlab/softwarepublico/colab-spb-plugin/',
src/colab-spb-theme-plugin/Makefile
1 PACKAGE = colab-spb-theme 1 PACKAGE = colab-spb-theme
2 -VERSION = 0.3.12 2 +VERSION = $(shell cat VERSION)
3 DISTDIR = dist 3 DISTDIR = dist
4 PACKAGE_NAME = $(PACKAGE)-$(VERSION) 4 PACKAGE_NAME = $(PACKAGE)-$(VERSION)
5 TARBALL = $(PACKAGE_NAME).tar.gz 5 TARBALL = $(PACKAGE_NAME).tar.gz
src/noosfero-spb/Makefile
1 PACKAGE = noosfero-spb 1 PACKAGE = noosfero-spb
2 -VERSION = 4.2.13 2 +VERSION = $(shell cat VERSION)
3 DISTDIR = $(PACKAGE)-$(VERSION) 3 DISTDIR = $(PACKAGE)-$(VERSION)
4 TARBALL = $(DISTDIR).tar.gz 4 TARBALL = $(DISTDIR).tar.gz
5 5
@@ -11,9 +11,10 @@ themes_dir=/usr/lib/noosfero/public/designs/themes @@ -11,9 +11,10 @@ themes_dir=/usr/lib/noosfero/public/designs/themes
11 noosfero_dir=/usr/lib/noosfero 11 noosfero_dir=/usr/lib/noosfero
12 12
13 dist: clean 13 dist: clean
14 - mkdir $(DISTDIR)  
15 - tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR) && tar xaf -)  
16 - tar --exclude=.git -czf $(TARBALL) $(DISTDIR) 14 + mkdir -p dist/$(DISTDIR)
  15 + tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd dist/$(DISTDIR) && tar xaf -)
  16 + cd dist/ && tar --exclude=.git -czf $(TARBALL) $(DISTDIR)
  17 + $(RM) -r $(DISTDIR)
17 18
18 clean: 19 clean:
19 $(RM) -r dist/ 20 $(RM) -r dist/