File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020
21- - name : Read latest WordPress version from wp-version.json
21+ - name : Put new versions into environment variables
2222 run : |
23- echo "WP_VERSION=$(jq -r '.wordpress' wp-version.json)" >> $GITHUB_ENV
23+ echo "WP_VERSION=$(jq -r '.wordpress' wp-version.json)" >> $GITHUB_ENV
24+ echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
2425
2526 - name : Create GitHub release
2627 if : ${{ contains(github.ref, 'refs/tags/') }}
5758 tags : |
5859 type=semver,pattern={{version}}
5960 type=semver,pattern={{major}}.{{minor}}
60- type=raw,${{ env.WP_VERSION }}-{{version }}
61- type=raw,${{ env.WP_VERSION }}
61+ type=raw,value= ${{ env.WP_VERSION }}-${{ env.VERSION }}
62+ type=raw,value= ${{ env.WP_VERSION }}
6263 type=sha
6364
6465 # https://github.com/docker/build-push-action
You can’t perform that action at this time.
0 commit comments