There was an error while loading. Please reload this page.
2 parents 5349658 + d9e4de8 commit ecc14b9Copy full SHA for ecc14b9
1 file changed
.github/workflows/deploy-on-release-to-dot-org.yml
@@ -50,11 +50,17 @@ jobs:
50
npm run dist:dotorg
51
echo "::set-output name=zip-path::./dist/${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip"
52
53
+ - name: Normalize release version for SVN tag
54
+ id: normalize-version
55
+ run: |
56
+ TAG="${{ github.event.release.tag_name }}"
57
+ echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
58
+
59
- name: WordPress plugin deploy
60
id: deploy
61
uses: 10up/action-wordpress-plugin-deploy@stable
62
env:
63
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
64
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
65
BUILD_DIR: ./dist/${{ github.event.repository.name }}/
- VERSION: ${{ github.event.release.tag_name }}
66
+ VERSION: ${{ steps.normalize-version.outputs.version }}
0 commit comments