Skip to content

Commit fe8b33c

Browse files
Debug commit, please revert: mock the version number in the version repo
1 parent cade53d commit fe8b33c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/upload-release-to-plugin-repo.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ jobs:
1717
run: |
1818
latest_version_in_core_repo=$(curl -s 'https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request\[slug\]=gutenberg' | jq -r '.version')
1919
echo "Latest Core Repo version: $latest_version_in_core_repo"
20-
echo "version=$latest_version_in_core_repo" >> $GITHUB_OUTPUT
20+
# @todo Revert by uncommenting this before merging
21+
# echo "version=$latest_version_in_core_repo" >> $GITHUB_OUTPUT
22+
23+
# Mocks the version that would come from the plugin repo, for testing purposes:
24+
# If the version being released by this workflow is > than the last one published
25+
# in the SVN repo, then it will be published as trunk and replace the last version
26+
# on SVN. If it's <, then it will only be published as a tag.
27+
echo "version=v15.9.0" >> $GITHUB_OUTPUT
2128
2229
- name: Decide if it is a trunk or tag update
2330
id: compute_should_update_trunk

0 commit comments

Comments
 (0)