init
This commit is contained in:
parent
fc9bf45e70
commit
fbd099fe0f
@ -39,7 +39,7 @@ spec:
|
||||
|
||||
echo "📄 Reading version from package.json..."
|
||||
VERSION=$(node -p "require('./package.json').version")
|
||||
TAG_FROM_PROJECT="v${VERSION}"
|
||||
TAG_FROM_PROJECT="${VERSION}"
|
||||
|
||||
echo "🔁 Comparing Git tag and project version:"
|
||||
echo " - Git ref tag: $TAG_FROM_REF"
|
||||
|
@ -45,7 +45,7 @@ spec:
|
||||
echo "📄 Reading version from pyproject.toml..."
|
||||
pip install --quiet tomli
|
||||
VERSION=$(python3 -c 'import tomli; print(tomli.load(open("pyproject.toml", "rb"))["tool"]["poetry"]["version"])')
|
||||
TAG_FROM_PROJECT="v${VERSION}"
|
||||
TAG_FROM_PROJECT="${VERSION}"
|
||||
|
||||
echo "🔁 Comparing Git tag and project version:"
|
||||
echo " - Git ref tag: $TAG_FROM_REF"
|
||||
|
Loading…
x
Reference in New Issue
Block a user