Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Feb 2, 2023
1 parent 747618d commit f5aecda
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 1,340 deletions.
34 changes: 0 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,30 +174,6 @@ jobs:
steps:
- build-bitcart-images

deploy-cli:
docker:
- image: cimg/go:1.18

resource_class: large

working_directory: ~/repo

steps:
- checkout

- run:
name: Build and publish Go CLI
command: |
cd cli
export VERSION="${CIRCLE_TAG#cli-}"
make build # ensure it works
make release ARGS="-ldflags '-X main.Version=$VERSION' -parallel=4"
go install github.com/tcnksm/ghr@latest
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace $CIRCLE_TAG dist/
- store_artifacts:
path: cli/dist

workflows:
version: 2
build_and_test:
Expand Down Expand Up @@ -250,13 +226,3 @@ workflows:
ignore: /.*/
tags:
only: /[0-9]+(\.[0-9]+)*/

cli:
jobs:
- deploy-cli:
context: global
filters:
branches:
ignore: /.*/
tags:
only: /cli-[0-9]+(\.[0-9]+)*/
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ repos:
rev: v3.0.0-alpha.4
hooks:
- id: prettier
exclude: >-
^cli/plugin/.*.$
- repo: local
hooks:
- id: check-compiled
Expand Down
15 changes: 0 additions & 15 deletions cli/Makefile

This file was deleted.

9 changes: 0 additions & 9 deletions cli/README.md

This file was deleted.

301 changes: 0 additions & 301 deletions cli/cli.go

This file was deleted.

Loading

0 comments on commit f5aecda

Please sign in to comment.