Skip to content

Commit a3cd74a

Browse files
committed
default version value
1 parent 92ba094 commit a3cd74a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/upgrade-compat.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
WP_CONTAINER=$(docker ps -qf "name=wordpress")
8484
PLUGIN_REPO=$PLUGIN_REPO
85+
PLUGIN_OLD_VERSION=$PLUGIN_OLD_VERSION
8586
8687
# Install git inside the WordPress container
8788
docker exec $WP_CONTAINER apt-get update
@@ -102,7 +103,7 @@ jobs:
102103
docker exec $WP_CONTAINER wp plugin activate progress-planner --allow-root
103104
104105
# Show plugin version
105-
docker exec $WP_CONTAINER wp option get progress_planner_version --allow-root
106+
docker exec $WP_CONTAINER wp option get progress_planner_version --allow-root | echo $PLUGIN_OLD_VERSION
106107
107108
# Overwrite plugin files with the latest version from this branch
108109
docker cp . $WP_CONTAINER:/var/www/html/wp-content/plugins/progress-planner

0 commit comments

Comments
 (0)