Skip to content

Commit

Permalink
revert something
Browse files Browse the repository at this point in the history
  • Loading branch information
kzheng-bdai committed Mar 13, 2024
1 parent 6c6f773 commit 9caebd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: "main"
ref: "dev-${{ env.VERSION }}"

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

Expand Down

0 comments on commit 9caebd5

Please sign in to comment.