Add publish target to makefile to help prevent precise/trusty branches getting out of sync
This commit is contained in:
parent
03f5725d9f
commit
eaaa2cc78d
|
@ -1 +1,2 @@
|
||||||
|
bin
|
||||||
revision
|
revision
|
||||||
|
|
12
Makefile
12
Makefile
|
@ -5,6 +5,14 @@ lint:
|
||||||
@flake8 --exclude hooks/charmhelpers hooks
|
@flake8 --exclude hooks/charmhelpers hooks
|
||||||
@charm proof
|
@charm proof
|
||||||
|
|
||||||
sync:
|
bin/charm_helpers_sync.py:
|
||||||
@charm-helper-sync -c charm-helpers.yaml
|
@mkdir -p bin
|
||||||
|
@bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
|
||||||
|
> bin/charm_helpers_sync.py
|
||||||
|
|
||||||
|
sync: bin/charm_helpers_sync.py
|
||||||
|
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers.yaml
|
||||||
|
|
||||||
|
publish: lint
|
||||||
|
bzr push lp:charms/rabbitmq-server
|
||||||
|
bzr push lp:charms/trusty/rabbitmq-server
|
||||||
|
|
Loading…
Reference in New Issue