Another fix for retrieval of version number from package.json
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 12s

This commit is contained in:
2024-09-16 12:50:52 +00:00
parent 2807d662d6
commit cde378e3e5

View File

@@ -41,7 +41,7 @@ jobs:
TAGS+=",git.3t.network/3t.network/ButlerBot:latest"
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
elif [ "${{ gitea.ref_name }}" = 'develop' ]; then
VERSION=$(node -p -e "require('./package.json').version)-dev
VERSION=$(node -p -e "require('./package.json').version")-dev
TAGS+=",git.3t.network/3t.network/ButlerBot:dev"
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
fi