Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit f93c536

Browse files
committed
path and cwd munging
1 parent 783e837 commit f93c536

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,10 @@ jobs:
121121
- run:
122122
name: "Publish Release on GitHub"
123123
command: |
124+
cd ~/project
124125
VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
125-
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ~/project/addons/lockbox-signed.xpi
126+
echo "Release ${VERSION}"
127+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./addons/lockbox-signed.xpi
126128
build-documentation:
127129
docker:
128130
- image: python:3.7

0 commit comments

Comments
 (0)