Commit 4078ca33cc467d3d3a72df23832466ccf59dabab
1 parent
38e27f4e
Exists in
master
and in
24 other branches
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>
Showing
3 changed files
with
7 additions
and
6 deletions
Show diff stats
src/colab-spb-plugin/setup.py
| ... | ... | @@ -15,7 +15,7 @@ version = open('VERSION').read().strip() |
| 15 | 15 | |
| 16 | 16 | setup( |
| 17 | 17 | name='colab-spb-plugin', |
| 18 | - version='0.2.6', | |
| 18 | + version=version, | |
| 19 | 19 | author='Macartur Sousa', |
| 20 | 20 | author_email='macartur.sc@gmail.com', |
| 21 | 21 | url='https://portal.softwarepublico.gov.br/gitlab/softwarepublico/colab-spb-plugin/', | ... | ... |
src/colab-spb-theme-plugin/Makefile
src/noosfero-spb/Makefile
| 1 | 1 | PACKAGE = noosfero-spb |
| 2 | -VERSION = 4.2.13 | |
| 2 | +VERSION = $(shell cat VERSION) | |
| 3 | 3 | DISTDIR = $(PACKAGE)-$(VERSION) |
| 4 | 4 | TARBALL = $(DISTDIR).tar.gz |
| 5 | 5 | |
| ... | ... | @@ -11,9 +11,10 @@ themes_dir=/usr/lib/noosfero/public/designs/themes |
| 11 | 11 | noosfero_dir=/usr/lib/noosfero |
| 12 | 12 | |
| 13 | 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 | 19 | clean: |
| 19 | 20 | $(RM) -r dist/ | ... | ... |