diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2019-11-16 19:16:55 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2019-11-16 19:16:55 +0300 |
commit | e4402d08d4dacfff5d76eefbe544403652888edd (patch) | |
tree | e1db7feff40297ab84d0567ca3d9269174586c78 | |
parent | 40b0bfe423b1844ec7df505822552e95b0ae0914 (diff) |
Simplify release stage
-rw-r--r-- | .circleci/config.yml | 46 |
1 files 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 + |