Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir Musali committed Feb 20, 2020
1 parent a20dd95 commit e366e6b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
name: Check Tagged Push
command: |
PKG_VERSION=$(grep VERSION Dockerfile | cut -d' ' -f3)
if [[ \"${CIRCLE_TAG}\" != \"v${PKG_VERSION}\" ]]; then
echo \"There is mismatch:\"
echo \" TAG_VERSION: ${CIRCLE_TAG}\"
echo \" PKG_VERSION: v${PKG_VERSION}\"
if [[ "${CIRCLE_TAG}" != "v${PKG_VERSION}" ]]; then
echo "There is mismatch:"
echo " TAG_VERSION: ${CIRCLE_TAG}"
echo " PKG_VERSION: v${PKG_VERSION}"
exit 1
fi
- run: docker build -f Dockerfile -t ${USERNAME}/${IMAGE}:${TAG} .
Expand All @@ -53,11 +53,11 @@ jobs:
- run:
name: Create a Release
command: |
ghr \\
-n \"LogDNA LogSpout ${CIRCLE_TAG}\"
-t \"${GITHUB_TOKEN}\"
-u ${CIRCLE_PROJECT_USERNAME} \\
-r ${CIRCLE_PROJECT_REPONAME} \\
ghr \
-n "LogDNA LogSpout ${CIRCLE_TAG}" \
-t ${GITHUB_TOKEN} \
-u ${CIRCLE_PROJECT_USERNAME} \
-r ${CIRCLE_PROJECT_REPONAME} \
-draft ${CIRCLE_TAG} ./image.tar
approve:
machine: true
Expand Down

0 comments on commit e366e6b

Please sign in to comment.