Skip to content

Commit

Permalink
scripts: add bump pybind script
Browse files Browse the repository at this point in the history
  • Loading branch information
russkel committed Apr 15, 2022
1 parent 3803015 commit b5d0559
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/bump-pybind11.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
PYBIND_VER=$1

git feature pybind-bump-${PYBIND_VER}
wget -c https://github.com/pybind/pybind11/archive/refs/tags/v${PYBIND_VER}.tar.gz
tar xzvf v${PYBIND_VER}.tar.gz
git rm -rf pybind11
mv pybind11-${PYBIND_VER} pybind11
git add pybind11
git commit -a -m "pybind: update to ${PYBIND_VER}"
rm v${PYBIND_VER}.tar.gz

0 comments on commit b5d0559

Please sign in to comment.