Skip to content

Commit

Permalink
build: fix ghr command
Browse files Browse the repository at this point in the history
  • Loading branch information
docmerlin committed Aug 6, 2021
1 parent 2a6427e commit bc6c673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ commands:
wget https://github.com/tcnksm/ghr/releases/download/${GHR_VERSION}/ghr_${GHR_VERSION}_linux_amd64.tar.gz
tar -xzf ghr_${GHR_VERSION}_linux_amd64.tar.gz
./build.sh --debug --clean --generate --package --package-udfs --upload --bucket=dl.influxdata.com/kapacitor/releases --platform=all --arch=all --release
./ghr_${GHR_VERSION}_linux_amd64/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} -replace ./build/
./ghr_${GHR_VERSION}_linux_amd64/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete -replace ${CIRCLE_TAG} ./build/
run_tests:
description: >
Expand Down Expand Up @@ -41,6 +41,9 @@ jobs:
working_directory: ~/kapacitor
steps:
- checkout
- restore_cache: # restores saved cache if no changes are detected since last run
keys:
- go-mod-{{ checksum "go.sum" }}
- setup_remote_docker:
docker_layer_caching: true
- run_tests
Expand Down
1 change: 0 additions & 1 deletion Dockerfile_build_ubuntu64
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ RUN wget -q https://github.com/google/protobuf/releases/download/v${PROTO_VERSIO
&& rm -rf /protobuf-${PROTO_VERSION} protobuf-python-${PROTO_VERSION}.tar.gz

ENV PROJECT_DIR $GOPATH/src/github.com/influxdata/kapacitor
#ENV PKG_CONFIG $PROJECT_DIR/pkg-config.sh
ENV PATH $GOPATH/bin:$PATH
RUN mkdir -p $PROJECT_DIR
WORKDIR $PROJECT_DIR
Expand Down

0 comments on commit bc6c673

Please sign in to comment.