Add publish target to makefile to help prevent precise/trusty branches getting out of sync

This commit is contained in:
James Page 2014-06-30 11:16:35 +01:00
parent 03f5725d9f
commit eaaa2cc78d
2 changed files with 11 additions and 2 deletions

View File

@ -1 +1,2 @@
bin
revision

View File

@ -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