From deadd476a05d7188dabf7c617d0f6208b0703ccb Mon Sep 17 00:00:00 2001 From: Core Date: Thu, 25 Aug 2022 19:53:09 +0100 Subject: [PATCH] pless --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e57853b..5650883b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,8 +121,9 @@ jobs: - run: name: Publish Release command: | - APP_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g'); - echo "Attempting to create release for Cider v${APP_VERSION} on the ${CIRCLE_BRANCH} branch."; + cd ~/Cider; + VERS=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | sed 's/ //g'); + echo "Attempting to create release for Cider v${VERS} on the ${CIRCLE_BRANCH} branch."; gh release create "v${APP_VERSION}" --title "Cider Version ${APP_VERSION} (${CIRCLE_BRANCH})" --notes "**Beta Release** A full changelog is unavailable, but you can view the branch comparison [here](https://github.com/ciderapp/cider/compare/stable...main). These builds are considered bleeding edge, expect bugs and please do not use this as a representation of the full app.