From f2e82ea4dbd27ae38b309d6138f466341067c301 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Mon, 26 Jan 2026 21:13:32 +0100 Subject: [PATCH] pipeline update --- .woodpecker.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 407e71b..eb28e75 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,9 +6,9 @@ steps: - name: version image: alpine commands: - - 'VERSION=$(sed -n "s/^-- version: //p" $GAME_NAME.$GAME_LANG | head -n 1)' + - VERSION=$(sed -n "s/^-- version: //p" $GAME_NAME.$GAME_LANG | head -n 1) - echo "$VERSION" > .version - - 'echo "Detected version: $VERSION"' + - echo "Detected version:" $VERSION - name: build image: git.teletype.hu/internal/tic80pro:latest @@ -18,7 +18,7 @@ steps: commands: - apt-get update && apt-get install -y zip - VERSION=$(cat .version) - - echo "Building version $VERSION" + - echo "Building version" $VERSION - make build VERSION="$VERSION" - make export VERSION="$VERSION" - echo "Generated files:" @@ -38,8 +38,8 @@ steps: - apk add --no-cache openssh-client sshpass - mkdir -p /root/.ssh - VERSION=$(cat .version) - - echo "VERSION (artifact step):$VERSION" - - echo "SCP Target Path: $DROPAREA_TARGET_PATH/$GAME_NAME/$VERSION/" + - echo "VERSION (artifact step):" $VERSION + - echo "SCP Target Path:" $DROPAREA_TARGET_PATH/$GAME_NAME/$VERSION/ - sshpass -p "$DROPAREA_SSH_PASSWORD" ssh -p $DROPAREA_PORT -o StrictHostKeyChecking=no $DROPAREA_USER@$DROPAREA_HOST "mkdir -p $DROPAREA_TARGET_PATH/$GAME_NAME/$VERSION" - echo "Files to upload:" - ls -lh $GAME_NAME-$VERSION.* $GAME_NAME.tic $GAME_NAME.html.zip @@ -56,5 +56,5 @@ steps: commands: - apk add --no-cache curl - VERSION=$(cat .version) - - echo "Triggering update for version $VERSION" + - echo "Triggering update for version" $VERSION - curl "$UPDATE_SERVER/update?secret=$UPDATE_SECRET&name=$GAME_NAME&platform=tic80&version=$VERSION" \ No newline at end of file