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
|
||||
|
|
12
Makefile
12
Makefile
|
@ -5,6 +5,14 @@ lint:
|
|||
@flake8 --exclude hooks/charmhelpers hooks
|
||||
@charm proof
|
||||
|
||||
sync:
|
||||
@charm-helper-sync -c charm-helpers.yaml
|
||||
bin/charm_helpers_sync.py:
|
||||
@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