From e4402d08d4dacfff5d76eefbe544403652888edd Mon Sep 17 00:00:00 2001 From: Matt Stratton Date: Sat, 16 Nov 2019 10:16:55 -0600 Subject: Simplify release stage --- .circleci/config.yml | 46 ++++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 64c172d..915b749 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -140,28 +140,29 @@ jobs: ls pwd zip -r release/castanet-${CIRCLE_TAG}.zip . -x \*.git\* \*exampleSite\* appveyor.yml \*.travis.ci\* \*tests\* \*bin\* \*build\* \*release\* config.codekit3 \*node_modules\* gulpfile.js netlify.toml package.json STYLE.md *\node_modules\* \*test\* - - persist_to_workspace: - root: ./ - paths: - - release - - - publish-github-release: - docker: - - image: cibuilds/github:0.13.0 - working_directory: castanet - - steps: - - attach_workspace: - at: ~/castanet/workspace - - run: - name: "List contents" - command: pwd && ls - run: name: "Publish release on GitHub" command: | VERSION=${CIRCLE_TAG} - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ~/castanet/workspace/release/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./release/ + + + # publish-github-release: + # docker: + # - image: cibuilds/github:0.13.0 + # working_directory: castanet + + # steps: + # - attach_workspace: + # at: ~/castanet/workspace + # - run: + # name: "List contents" + # command: pwd && ls + # - run: + # name: "Publish release on GitHub" + # command: | + # VERSION=${CIRCLE_TAG} + # ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ~/castanet/workspace/release/ workflows: version: 2 @@ -206,13 +207,6 @@ workflows: only: /^\d+\.\d+\.\d+$/ branches: ignore: /.*/ - - publish-github-release: - filters: - tags: - only: /^\d+\.\d+\.\d+$/ - branches: - ignore: /.*/ - requires: - - create-release + -- cgit v1.2.3