Skip to content

Commit

Permalink
Bump version to 0.5.1 (#119)
Browse files Browse the repository at this point in the history
* Update dependencies

* Bump version to 0.5.1

* Try to deflake tests in GitHub Actions

* Add some retries to e2e_test

* Revert cargo.lock changes

* Update only a couple deps

* Fix CI running twice :(

* Fix typo
  • Loading branch information
ekzhang authored Jun 11, 2024
1 parent 82acea3 commit a6045fb
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 24 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
rust:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/mean_bean_ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Mean Bean CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
install-cross:
Expand Down
30 changes: 11 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bore-cli"
version = "0.5.0"
version = "0.5.1"
authors = ["Eric Zhang <[email protected]>"]
license = "MIT"
description = "A modern, simple TCP tunnel in Rust that exposes local ports to a remote server, bypassing standard NAT connection firewalls."
Expand Down
20 changes: 18 additions & 2 deletions ci/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,21 @@ TARGET_TRIPLE=$2
required_arg $CROSS 'CROSS'
required_arg $TARGET_TRIPLE '<Target Triple>'

$CROSS test --target $TARGET_TRIPLE
$CROSS test --target $TARGET_TRIPLE --all-features
max_attempts=3
count=0

while [ $count -lt $max_attempts ]; do
$CROSS test --target $TARGET_TRIPLE
status=$?
if [ $status -eq 0 ]; then
echo "Test passed"
break
else
echo "Test failed, attempt $(($count + 1))"
fi
count=$(($count + 1))
done

if [ $status -ne 0 ]; then
echo "Test failed after $max_attempts attempts"
fi

0 comments on commit a6045fb

Please sign in to comment.