Automating your releases 	

with shell scripts
WordCamp The Netherlands 2014
Barry Kooij
• Senior Web Developer @Yoast	

• WordPress SEO (Premium), News SEO,Video SEO	

• Post Connector,What The File...
Agenda
• GIT	

• GIT > SVN	

• Q&A
We use GIT
WordPress repositories are SVN
GIT
GIT
• Distributed Revision Control	

• GitHub	

• Branches, tags	

• Releases, Forks, Pull Requests
GIT
GIT > SVN
SHELL SCRIPTS
A shell script is a computer program designed to be run by
the Unix shell, a command line interpreter.
STEPS
1. Checkout the SVN repository	

2. Clone the GIT repository	

3. Init and update all submodules	

4. Remove unwante...
THE SCRIPT
THE SCRIPT
THE SCRIPT
THE SCRIPT
THE SCRIPT
Thank you.	

!
Find me on Twitter:

@CageNL
Upcoming SlideShare
Loading in …5
×

Automating your releases with shell scripts - WordCamp Netherlands 2014

1,118 views

Published on

Automating your releases with shell scripts - WordCamp Netherlands 2014

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,118
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Automating your releases with shell scripts - WordCamp Netherlands 2014

  1. 1. Automating your releases with shell scripts WordCamp The Netherlands 2014
  2. 2. Barry Kooij • Senior Web Developer @Yoast • WordPress SEO (Premium), News SEO,Video SEO • Post Connector,What The File • Moderator WPNL forum • Twitter: @cageNL
  3. 3. Agenda • GIT • GIT > SVN • Q&A
  4. 4. We use GIT
  5. 5. WordPress repositories are SVN
  6. 6. GIT
  7. 7. GIT • Distributed Revision Control • GitHub • Branches, tags • Releases, Forks, Pull Requests
  8. 8. GIT
  9. 9. GIT > SVN
  10. 10. SHELL SCRIPTS A shell script is a computer program designed to be run by the Unix shell, a command line interpreter.
  11. 11. STEPS 1. Checkout the SVN repository 2. Clone the GIT repository 3. Init and update all submodules 4. Remove unwanted files and folders 5. Copy git clone to SVN trunk 6. SVN add & rm on all added and deleted files 7. Copy SVN trunk to SVN tag 8. Create GitHub Release 9. Manually do a SVN commit
  12. 12. THE SCRIPT
  13. 13. THE SCRIPT
  14. 14. THE SCRIPT
  15. 15. THE SCRIPT
  16. 16. THE SCRIPT
  17. 17. Thank you. ! Find me on Twitter:
 @CageNL

×