From 9110910b114250bd13363cb44911ad976d337a83 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 15 Apr 2024 19:11:49 +0200 Subject: [PATCH] fix: use posix shell syntax for activation Switched the virtual environment activation command to be compliant with POSIX shell syntax. The previous `source` command is replaced with `.`, making the script more broadly compatible with different shell environments without requiring bash specifically. This change ensures greater portability and compatibility of the release workflow across diverse CI/CD execution environments. --- .forgejo/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index adfa4af..e4794d0 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -25,7 +25,7 @@ jobs: run: | python3 -V python3 -m venv venv - source venv/bin/activate + . ./venv/bin/activate pip install -U pip pip install .[all] @@ -46,7 +46,7 @@ jobs: - name: Set up Python environment run: | python3 -m venv venv - source venv/bin/activate + . ./venv/bin/activate - name: Install publishing tools run: |