Skip to content

Commit

Permalink
Update Travis CI and release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cssjoe committed Mar 27, 2023
1 parent 3dbbd8e commit 5a36e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ script:

deploy:
- provider: script
script:
- for i in $(find vendor/ -type l); do \cp -f --remove-destination $(realpath $i) $i;done
- chmod +x ./bin/release.sh && ./bin/release.sh
script: chmod +x ./bin/release.sh && ./bin/release.sh
skip_cleanup: true
on:
tags: true
Expand Down
3 changes: 3 additions & 0 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ find vendor/ -name '.git' -type d -print -exec rm -rf {} +
rm -fv package.* phpcs.xml
rm -rfv qa

# Find and replace symlinks in the "vendor" directory.
for i in $(find vendor/ -type l); do \cp -f --remove-destination $(realpath $i) $i;done

# Create a tag in the Wordpress.org SVN repo when after your build succeeds via Travis.
# @link https://github.com/BoldGrid/wordpress-tag-sync
chmod +x ./node_modules/@boldgrid/wordpress-tag-sync/release.sh && ./node_modules/@boldgrid/wordpress-tag-sync/release.sh

0 comments on commit 5a36e8e

Please sign in to comment.