Skip to content

Commit

Permalink
Clean up the runtime scripts a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Aug 14, 2024
1 parent 922c543 commit 21c0cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ci/runtimes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

set -e

# The version of Rust to use.
RUST_VERSION='1.78'

# The directory to place the runtimes in.
DIR="tmp/runtimes"

function rustup_lib {
Expand Down
5 changes: 3 additions & 2 deletions ci/upload_runtimes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e

VERSION="$(cargo pkgid -p inko | cut -d\# -f2 | cut -d: -f2)"
DIR="tmp/runtimes"

rclone sync --config rclone.conf --checksum --verbose tmp/runtimes \
"production:inko-releases/runtimes/$VERSION"
rclone sync --config rclone.conf --checksum --verbose "${DIR}" \
"production:inko-releases/runtimes/${VERSION}"

0 comments on commit 21c0cd9

Please sign in to comment.