Skip to content

Commit

Permalink
upload script
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Mar 11, 2024
1 parent 27b3821 commit 3f4bd66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ jobs:
- run:
name: Create uberjar
command: |
mkdir -p /tmp/release
lein do clean, uberjar
VERSION=$(cat resources/DEPS_CLJ_VERSION)
artifact="target/deps.clj-$VERSION-standalone.jar"
cp "$artifact" /tmp/release
bb upload-artifact :file "$artifact"
.circleci/script/upload
- store_artifacts:
path: /tmp/release
destination: release
Expand Down
10 changes: 10 additions & 0 deletions .circleci/script/upload
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#/usr/bin/env bash

set -euxo pipefail

mkdir -p /tmp/release
lein do clean, uberjar
VERSION=$(cat resources/DEPS_CLJ_VERSION)
artifact="target/deps.clj-$VERSION-standalone.jar"
cp "$artifact" /tmp/release
bb upload-artifact :file "$artifact"

0 comments on commit 3f4bd66

Please sign in to comment.