Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
fix do install
Browse files Browse the repository at this point in the history
  • Loading branch information
monty5811 committed Aug 10, 2017
1 parent 70bf971 commit f5d1410
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [v2.4.0]
## [v2.4.1]

### Added

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.4.1
2 changes: 1 addition & 1 deletion ansible/env_vars/base.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

git_repo: https://github.com/monty5811/apostello.git
git_version: v2.4.0
git_version: v2.4.1

project_name: apostello
application_name: apostello
Expand Down
4 changes: 2 additions & 2 deletions ansible/env_vars/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ opbeat_secret_token:
opbeat_js_org_id:
opbeat_js_app_id:
# Cloud messaging
#cm_server_key:
#cm_sender_id:
cm_server_key:
cm_sender_id:
2 changes: 1 addition & 1 deletion apostello/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def sms_to_slack(sms_body, person_name, keyword_name):
def send_cloud_messages():
"""Send messages to all registere cloud messaging IDs."""
server_key = settings.CM_SERVER_KEY
if server_key is None:
if not server_key:
return
from apostello.models import CloudMessageId
cmids = CloudMessageId.objects.all()
Expand Down
2 changes: 1 addition & 1 deletion scripts/ansible_install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
# setup some constants
AP_VER=v2.4.0
AP_VER=v2.4.1
REPO_URL=https://github.com/monty5811/apostello.git
HOME_DIR=/home/apostello
CUSTOM_VARS_FILE=$HOME_DIR/custom_vars.yml
Expand Down
2 changes: 1 addition & 1 deletion settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,5 @@
SOLO_CACHE = 'default'

# cloud messaging server key:
CM_SERVER_KEY = os.environ.get('CM_SERVER_KEY')
CM_SERVER_KEY = os.environ.get('CM_SERVER_KEY', '')
CM_SENDER_ID = os.environ.get('CM_SENDER_ID', '')

0 comments on commit f5d1410

Please sign in to comment.