From c18c05efa739721c79645b567d19745eecd3a3fc Mon Sep 17 00:00:00 2001 From: Matt Hinchliffe Date: Wed, 25 Jul 2018 16:54:02 +0100 Subject: [PATCH] Use separate steps for version and publish, bump Athloi --- .circleci/config.yml | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3a58d2bc5..3e3fc67af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,9 +129,12 @@ jobs: - run: name: shared-helper / npm-store-auth-token command: .circleci/shared-helpers/helper-npm-store-auth-token + - run: + name: Bump version + command: npx athloi version ${CIRCLE_TAG} - run: name: NPM publish - command: npx athloi version ${CIRCLE_TAG} && npx athloi publish -- --access=public + command: npx athloi publish -- --access=public - run: name: Publish GitHub Pages command: ./private/scripts/gh-pages diff --git a/package.json b/package.json index df4887f1f..76e86ca65 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "start-docs": "(cd tools/x-docs && npm start)" }, "devDependencies": { - "@financial-times/athloi": "^1.0.0-beta.3", + "@financial-times/athloi": "^1.0.0-beta.4", "@financial-times/secret-squirrel": "^2.10.1", "eslint": "^5.1.0", "eslint-config-prettier": "^2.9.0",