+ All Categories
Home > Technology > Automating your releases with shell scripts - WordCamp Netherlands 2014

Automating your releases with shell scripts - WordCamp Netherlands 2014

Date post: 12-Jul-2015
Category:
Upload: barry-kooij
View: 557 times
Download: 0 times
Share this document with a friend
Popular Tags:
17
Automating your releases with shell scripts WordCamp The Netherlands 2014
Transcript

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

• Moderator WPNL forum

• Twitter: @cageNL

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.

STEPS1. 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

THE SCRIPT

THE SCRIPT

THE SCRIPT

THE SCRIPT

THE SCRIPT

Thank you. !

Find me on Twitter: @CageNL


Recommended