diff --git a/.circleci/config.yml b/.circleci/config.yml index b03e916..4b4d165 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ jobs: - attach_workspace: at: ~/repo - - run: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} 20.1 ~/repo/build/deb/deploy/ + - run: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ~/repo/build/deb/deploy/ workflows: version: 2 @@ -87,18 +87,18 @@ workflows: - deploy_ubuntu: context: - lcarsde-context -# filters: -# tags: -# only: /.*/ -# branches: -# ignore: /.*/ + filters: + tags: + only: /.*/ + branches: + ignore: /.*/ - publish_github_release: context: - lcarsde-context requires: - deploy_ubuntu -# filters: -# tags: -# only: /.*/ -# branches: -# ignore: /.*/ + filters: + tags: + only: /.*/ + branches: + ignore: /.*/ diff --git a/deploy-deb.sh b/deploy-deb.sh index 15f1c6b..f903aed 100755 --- a/deploy-deb.sh +++ b/deploy-deb.sh @@ -3,7 +3,6 @@ export LC_ALL=en_US.UTF-8 TIME="$(date '+%a, %d %b %Y %T %z')" YEAR="$(date '+%Y')" -CIRCLE_TAG=20.1 echo "preparing debian package build for $1-${CIRCLE_TAG}"