Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

What's the better way to update? #111

Closed
ymgomes opened this issue Sep 11, 2014 · 6 comments
Closed

What's the better way to update? #111

ymgomes opened this issue Sep 11, 2014 · 6 comments

Comments

@ymgomes
Copy link

ymgomes commented Sep 11, 2014

How can I update FoundationPress to get new functionality without break my site? What folders should I upgrade?

@olefredrik
Copy link
Owner

In your theme folder, create an update branch with git checkout -b update. In your new branch you can do a git pull origin master to get the lastest commits from the FoundationPress remote repository. When you have verified that everything works sweet you can add, commit and merge the update branch into master.

Alternatively you can do a foundation update command to fetch the latest official version of Foundation.

There are many ways to handle updates. You'll have to find the one that works best for you. In all cases I recommend version management through Git.

@AdamChlan
Copy link
Contributor

@olefredrik does doing a bower update command in the theme folder achieve the same result as foundation update command?

@olefredrik
Copy link
Owner

@AdamChlan Actually, I'm not sure as I've never used bower update. Whenever I need to update Foundation I just do a foundation update

@ChrisAynesworth
Copy link

How do I update from say, Foundation 6.1.2 to Foundation 6.2? Typing in 'foundation update' just shows lines of bower cached and bower validate items:

bower cached git://github.com/zurb/foundation-sites.git#6.1.2
bower validate 6.1.2 against git://github.com/zurb/foundation-sites.git#~6.1.0
bower cached git://github.com/FortAwesome/Font-Awesome.git#4.4.0
bower validate 4.4.0 against git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower cached git://github.com/zurb/motion-ui.git#1.1.1
bower validate 1.1.1 against git://github.com/zurb/motion-ui.git#~1.1.0
bower cached git://github.com/jquery/jquery-dist.git#2.1.4
bower validate 2.1.4 against git://github.com/jquery/jquery-dist.git#~2.1.4
bower cached git://github.com/jquery/jquery-dist.git#2.2.1
bower validate 2.2.1 against git://github.com/jquery/jquery-dist.git#>=1.7
bower cached git://github.com/ten1seven/what-input.git#1.1.4
bower validate 1.1.4 against git://github.com/ten1seven/what-input.git#~1.1.2

I'm running FoundationPress 2.3

@olefredrik
Copy link
Owner

Hi @ChrisAynesworth ,

We have an open pull request for the latest Foundation update. Just need to fix a few issues before it's merged into the master branch. If you plan on upgrading yourself, you should follow this upgrade guide.

Cheers,
Ole Fredrik

@ChrisAynesworth
Copy link

Thanks Ole, and for your theme!

I'll be looking for those latest changes. I guess my question was also on the scope of why running foundation udpate doesn't do anything?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants