Skip to content

Commit

Permalink
Debug commit, please revert: mock the version number in the version repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed May 24, 2023
1 parent cade53d commit fe8b33c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/upload-release-to-plugin-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ jobs:
run: |
latest_version_in_core_repo=$(curl -s 'https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request\[slug\]=gutenberg' | jq -r '.version')
echo "Latest Core Repo version: $latest_version_in_core_repo"
echo "version=$latest_version_in_core_repo" >> $GITHUB_OUTPUT
# @todo Revert by uncommenting this before merging
# echo "version=$latest_version_in_core_repo" >> $GITHUB_OUTPUT
# Mocks the version that would come from the plugin repo, for testing purposes:
# If the version being released by this workflow is > than the last one published
# in the SVN repo, then it will be published as trunk and replace the last version
# on SVN. If it's <, then it will only be published as a tag.
echo "version=v15.9.0" >> $GITHUB_OUTPUT
- name: Decide if it is a trunk or tag update
id: compute_should_update_trunk
Expand Down

0 comments on commit fe8b33c

Please sign in to comment.