ci: use upstream tags for fork image versions

This commit is contained in:
yellowcooln committed 2026-08-19 17:42:09 -04:00
1 parent 9708cbe9a2
commit 2d04085b76
1 file changed
+4
+4
View File
@@ -48,6 +48,10 @@ jobs:
- name: Compute package version
id: package_version
run: |
if [ "${{ github.repository }}" != "openhop-dev/openhop_repeater" ]; then
git fetch --force https://github.com/openhop-dev/openhop_repeater.git \
"refs/tags/*:refs/tags/*"
fi
python -m pip install --disable-pip-version-check setuptools_scm
version="$(python -m setuptools_scm)"
echo "version=${version}" >> "$GITHUB_OUTPUT"