Skip to content

Commit

Permalink
Merge pull request #137 from vitrine-app/hotfix/igdb-date
Browse files Browse the repository at this point in the history
hotfix: v0.11.1 stable
  • Loading branch information
Paul Roman authored Mar 9, 2019
2 parents a82ce88 + 945f32f commit b0ae931
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Vitrine Changelog

## 0.11.1 (09/03/2019)
- fix: IGDB dates are now corrects

## 0.11.0 (06/03/2019)
- fix: Vitrine now uses the new IGDB 3000 API

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitrine",
"version": "0.11.0",
"version": "0.11.1",
"description": "Centralize all of your games within a simple interface.",
"main": "public/server.js",
"productName": "Vitrine",
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (!branch)
throw new Error('Branch is not defined. Check your CI configuration.');

console.log(`====== Current branch: ${branch} ======`);
if (branch === 'stable' || branch.startsWith('release/')) {
if (branch === 'stable' || branch.startsWith('release/') || branch.startsWith('hotfix/')) {
console.log('Deployment path.');
exec('yarn build:modules');
exec('yarn dist:ci');
Expand Down
2 changes: 1 addition & 1 deletion sources/server/api/igdbWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function getReleaseDate(releaseDateId: number) {
.fields('date')
.where(`id = ${releaseDateId}`)
.request(`${baseUrl}/release_dates`);
return releaseDate.date;
return releaseDate.date * 1000;
}

async function getSeries(collectionId: number) {
Expand Down

0 comments on commit b0ae931

Please sign in to comment.