File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Deploy FedaPay Woocommerce Plugin
22
33on :
44 push :
5- tags : " *"
5+ tags :
6+ - ' *'
67env :
78 SVN_REPOSITORY : ${{ vars.SVN_REPOSITORY }}
89 SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ rm -rf wordpress_org_assets/ deploy/
1414rsync -r -p ./* $SVN_DIR /trunk/
1515
1616# 5. Create SVN tag
17- mkdir -p $SVN_DIR /tags/$TRAVIS_TAG
18- rsync -r -p ./* $SVN_DIR /tags/$TRAVIS_TAG
17+ mkdir -p $SVN_DIR /tags/$GITHUB_REF_NAME
18+ rsync -r -p ./* $SVN_DIR /tags/$GITHUB_REF_NAME
1919
2020svn stat $SVN_DIR
2121
@@ -27,7 +27,7 @@ svn stat $SVN_DIR | grep '^!' | awk '{print $2}' | xargs -I x svn rm --force x@
2727svn stat $SVN_DIR
2828
2929# 8. Push SVN tag
30- svn ci --message " Release $TRAVIS_TAG " \
30+ svn ci --message " Release $GITHUB_REF_NAME " \
3131 --username $SVN_USERNAME \
3232 --password $SVN_PASSWORD \
3333 --non-interactive $SVN_DIR
You can’t perform that action at this time.
0 commit comments