From: 최원영/Common Platform Lab(SR)/Staff Engineer/삼성전자 Date: Wed, 1 Apr 2020 05:15:23 +0000 (+0900) Subject: [Build] Remove unnecessary version.txt in ci config (#183) X-Git-Tag: submit/tizen_5.5/20200420.234045~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=daf458a15cc0f1baf536d4202c7b1f6035e89c1f;p=platform%2Fcore%2Fcsapi%2Fxsf.git [Build] Remove unnecessary version.txt in ci config (#183) --- diff --git a/.circleci/config.yml b/.circleci/config.yml index c93052cd..8e18e0bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,14 +20,12 @@ jobs: - run: command: | VERSION=$(./build.sh version nightly) - echo ${VERSION} > version.txt ./build.sh build ./build.sh pack ${VERSION} - persist_to_workspace: root: . paths: - XSF.*.nupkg - - version.txt build-release: docker: @@ -38,14 +36,12 @@ jobs: - run: command: | VERSION=$(echo ${CIRCLE_TAG} | sed -e "s/^v//") - echo ${VERSION} > version.txt ./build.sh build ./build.sh pack ${VERSION} - persist_to_workspace: root: . paths: - XSF.*.nupkg - - version.txt deploy: docker: @@ -67,8 +63,7 @@ jobs: at: . - run: command: | - VERSION=$(cat version.txt) - ghr -t ${GITHUB_TOKEN} -u dotnet -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace v${VERSION} *.nupkg + ghr -t ${GITHUB_TOKEN} -u dotnet -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} *.nupkg workflows: