mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-10-30 19:51:59 +01:00
ci: use upstream tags for fork image versions
This commit is contained in:
1 parent
9708cbe9a2
commit
2d04085b76
1 file changed
+4
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user