Skip to content

Commit

Permalink
simpler way
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyu-zheng committed Mar 13, 2024
1 parent 76253c7 commit 6c6f773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

- uses: actions/checkout@v4
with:
ref: "dev-${{ env.VERSION }}"
ref: "main"

- name: Install dependencies
run: |
Expand Down
6 changes: 4 additions & 2 deletions scripts/pomdp_py_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ fi
echo $version
if ! is_git_repo_on_branch $pomdp_py_path dev-$version; then
if ! is_git_repo_on_branch $pomdp_py_path dev-latest; then
echo "pomdp-py repo must be either on dev-latest or dev-$version, but not $current_branch. Abort"
exit 1
if ! is_git_repo_on_branch $pomdp_py_path main; then
echo "pomdp-py repo must be either on dev-latest or dev-$version, or main, but not $current_branch. Abort"
exit 1
fi
fi
fi

Expand Down

0 comments on commit 6c6f773

Please sign in to comment.