From ea6d13c7a611de057ce6647f6c86e6234bb88938 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 11 Dec 2023 09:18:06 -0600 Subject: [PATCH] Fix the plugin version conditional --- .github/workflows/wporg-update-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wporg-update-versions.yml b/.github/workflows/wporg-update-versions.yml index fc42a339de..3dc7e466de 100644 --- a/.github/workflows/wporg-update-versions.yml +++ b/.github/workflows/wporg-update-versions.yml @@ -45,7 +45,7 @@ jobs: - name: Run wporg-replace uses: sc0ttkclark/wporg-replace@v1.0.7 with: - plugin_version: ${{ (github.event.inputs.plugin_version == '') && github.event.inputs.plugin_version || env.PLUGIN_VERSION }} + plugin_version: ${{ (github.event.inputs.plugin_version != '') && github.event.inputs.plugin_version || env.PLUGIN_VERSION }} plugin_version_constant_name: ${{ env.WPORG_PLUGIN_VERSION_CONSTANT_NAME }} tested_wp_version: ${{ github.event.inputs.tested_wp_version }} tested_wp_version_constant_name: ${{ env.WPORG_TESTED_WP_VERSION_CONSTANT_NAME }}