mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Build/Test Tools: Fix version number when downgrading WP in performance tests.
The tagged version on GitHub requires the trailing `.0`, but `wp core update` doesn't accept a trailing zero. Follow-up to [59525]. See #62148. git-svn-id: https://develop.svn.wordpress.org/trunk@59526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e58bef6fdc
commit
20c0327117
4
.github/workflows/reusable-performance.yml
vendored
4
.github/workflows/reusable-performance.yml
vendored
@ -263,7 +263,9 @@ jobs:
|
||||
- name: Set the environment to the baseline version
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}
|
||||
run: |
|
||||
npm run env:cli -- core update --version=${{ env.BASE_TAG }} --force --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
VERSION="${{ env.BASE_TAG }}"
|
||||
VERSION="${VERSION%.0}"
|
||||
npm run env:cli -- core update --version=$VERSION --force --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
npm run env:cli -- core version --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
|
||||
- name: Run any database upgrades
|
||||
|
Loading…
x
Reference in New Issue
Block a user