debug
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m40s

This commit is contained in:
2024-07-21 06:36:11 +02:00
parent 739f3868dd
commit 4b9897ae12

View File

@@ -21,13 +21,16 @@ jobs:
- name: Increment version
id: increment_version
shell: sh
run: |
# Lire le fichier VERSION
version=$(cat VERSION)
echo "Current version: $version"
# Extraire les parties majeure, mineure et patch
IFS='.' read -r -a parts <<< "$version"
IFS='.' read -r -a parts <<-EOF
$version
EOF
major=${parts[0]}
minor=${parts[1]}
patch=${parts[2]}