Skip to content

Commit

Permalink
Merge branch 'release/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
GregLeBarbar committed Aug 29, 2018
2 parents c4cd1a0 + 4aef05c commit 76cc3b1
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

# CHANGELOG

*1.2.1* (2018-08-29)
- epfl-news: fix the width of highlighted template (fullscreen)
- faculties: increase faculty number to 10 fix
- implement styleguide version (1.2.0)

*1.2.0* (2018-08-27)
- MVC structure improvements for shortcodes
- Theme translation setup
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ Epfl theme (Wordpress)
4. commit the builds
5. here you go, you just updated the styleguide version contained in this theme !

## deploying a release
Requirements:
## Create a new release
### Requirements:
- understand the gitflow logic ([gitflow cheatsheet](https://danielkummer.github.io/git-flow-cheatsheet/))
- install `git flow` locally [How to install gitflow](https://github.com/nvie/gitflow/wiki/Installation)
- initialise git flow in your repo by typing `git flow init`
- make sure your local branches `master` and `dev` are up-to-date
- initialise git flow in your repo `git flow init`

### process
- start a release: `git flow release start x.x.x`
- update the following files:
- `VERSION` with the version number
- `CHANGELOG.md` with a description of all the changes since last release
- `CHANGELOG.md` with a description of **all the changes since last release**
- commit them in a "bump version" commit
- finish the release: `git flow release finish x.x.x`
- head over this repo on github, on the **release** tab
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1
4 changes: 2 additions & 2 deletions assets/css/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/app.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/svg/avatar-placeholder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions shortcodes/epfl_news/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
}
?>

<div class="container-full">
<?php if ("1" == $template): ?>
<div class="container">
<?php else: ?>
<div class="container-full">
<?php endif ?>
<div class="list-group">
<?php
foreach($data as $news) {
Expand Down Expand Up @@ -177,5 +180,4 @@
<?php endif; ?>

</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion shortcodes/faculties/shortcake.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function faculties() {

$fields = [];

for ($i = 1; $i <= 7; $i++) {
for ($i = 1; $i <= 10; $i++) {
$fields = array_merge(
$fields,
[
Expand Down
2 changes: 1 addition & 1 deletion shortcodes/faculties/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?php if (true): ?>
<div class="container-full p-lg-5 <?php echo $greyClasses ?>">
<div class="row">
<?php for($i = 1; $i <= 7; $i++): ?>
<?php for($i = 1; $i <= 10; $i++): ?>
<?php if ($data['title'.$i]) : ?>
<?php $image = get_post($data['image'.$i]); ?>
<div class="col-sm-4">
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI:
Author: Antistatique.net
Author URI: http://antistatique.net/
Description: Description
Version: 1.0.0
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: epfl
Expand Down

0 comments on commit 76cc3b1

Please sign in to comment.