Skip to content

Commit

Permalink
ci: correctly prune wordpress.org SVN repository (#4ppjyy)
Browse files Browse the repository at this point in the history
  • Loading branch information
matzeeable committed Apr 20, 2020
1 parent 7b476d8 commit 1e0af37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devops/.gitlab/stage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ docker review stop:
- cd wporg
- svn status
- svn add --force * --auto-props --parents --depth infinity -q
# Prune SVN repository (https://stackoverflow.com/a/61255370/5506547)
- '(svn status | grep "^!" | cut -c2- | xargs -i{} svn delete "{}") || :'
- svn ci -m "This commit is generated through CI/CD, see the GIT repository for more details ($CI_COMMIT_SHA)" --username "$WPORG_SVN_USERNAME" --password "$WPORG_SVN_PASSWORD" --non-interactive --no-auth-cache
only:
refs: [master]
Expand Down

0 comments on commit 1e0af37

Please sign in to comment.