summaryrefslogtreecommitdiff
path: root/.gitlab-ci/set_env.sh
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2023-12-08 13:16:12 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2023-12-08 13:16:12 +0900
commit454aa52f950f2348756dfffc9c26fb74d4aa3bef (patch)
tree4e8be3f8c8218dbafe65e22dfc73e9351c1d5bbb /.gitlab-ci/set_env.sh
parentf3eae5a895fc60cb99c0c366bdd011018ce3bc7b (diff)
downloadpygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.tar.gz
pygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.tar.bz2
pygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.zip
Imported Upstream version 3.46.0upstream/3.46.0
Diffstat (limited to '.gitlab-ci/set_env.sh')
-rwxr-xr-x.gitlab-ci/set_env.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci/set_env.sh b/.gitlab-ci/set_env.sh
new file mode 100755
index 0000000..c6671c8
--- /dev/null
+++ b/.gitlab-ci/set_env.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+export PYENV_VERSION
+PYENV_VERSION="$(pyenv latest "${PYTHON_VERSION:-3}")"
+exec "$@"