diff --git a/.circleci/config.yml b/.circleci/config.yml index 5650883b..af31aade 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -122,8 +122,8 @@ jobs: name: Publish Release command: | 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."; + APP_VERSION=$(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${APP_VERSION} 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.